##// END OF EJS Templates
added white-space:pre for the commit message
added white-space:pre for the commit message

File last commit:

r3648:4b120ff6 new-ui
r3652:2294d2fe new-ui
Show More
file_authors_box.mako
31 lines | 985 B | application/x-mako | MakoHtmlLexer
<%namespace name="base" file="/base/base.mako"/>
% if c.authors:
<ul class="sidebar-right-content">
% for email, user, commits in sorted(c.authors, key=lambda e: c.file_last_commit.author_email!=e[0]):
<li class="file_author">
<div class="tooltip" title="${h.tooltip(h.author_string(email))}">
${base.gravatar(email, 16)}
<div class="user">${h.link_to_user(user)}</div>
% if c.file_author:
<span>- ${h.age_component(c.file_last_commit.date)}</span>
% elif c.file_last_commit.author_email==email:
<span> (${_('last author')})</span>
% endif
% if not c.file_author:
<span>
% if commits == 1:
${commits} ${_('Commit')}
% else:
${commits} ${_('Commits')}
% endif
</span>
% endif
</div>
</li>
% endfor
</ul>
% endif