##// END OF EJS Templates
pull-requests: add merge check that detects WIP marker in title. This will prevent merges in such case....
pull-requests: add merge check that detects WIP marker in title. This will prevent merges in such case. Usually WIP in title means unfinished task that needs still some work. This pattern is present in Gitlab/Github and is already quite common.

File last commit:

r4026:ed756817 default
r4099:c12e69d0 default
Show More
file_authors_box.mako
40 lines | 1.3 KiB | application/x-mako | MakoHtmlLexer
<%namespace name="base" file="/base/base.mako"/>
% if c.authors:
<table class="sidebar-right-content">
% for email, user, commits in sorted(c.authors, key=lambda e: c.file_last_commit.author_email!=e[0]):
<tr class="file_author">
<td>
<%
rc_user = h.discover_user(user)
%>
% if not c.file_author:
${base.gravatar(email, 16, user=rc_user, tooltip=True)}
% endif
<span class="user commit-author">${h.link_to_user(rc_user or user)}</span>
% if c.file_author:
<span class="commit-date">- ${h.age_component(c.file_last_commit.date)}</span>
<a href="#ShowAuthors" onclick="showAuthors(this, ${("1" if c.annotate else "0")}); return false" class="action_link"> - ${_('Load All Authors')}</a>
% elif c.file_last_commit.author_email==email:
<span> (${_('last author')})</span>
% endif
</td>
<td>
% if not c.file_author:
<code>
% if commits == 1:
${commits} ${_('Commit')}
% else:
${commits} ${_('Commits')}
% endif
</code>
% endif
</td>
</tr>
% endfor
</table>
% endif