##// END OF EJS Templates
utils: catch error: [Errno 98] Address already in use errors
utils: catch error: [Errno 98] Address already in use errors

File last commit:

r4026:ed756817 default
r4882:f20a077b 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