##// END OF EJS Templates
commit-cache: update repo group/repo every 5 min
commit-cache: update repo group/repo every 5 min

File last commit:

r3697:66b1d111 new-ui
r3705:4bcb793e new-ui
Show More
file_authors_box.mako
40 lines | 1.2 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%namespace name="base" file="/base/base.mako"/>
% if c.authors:
files: make authors box a table
r3697
<table class="sidebar-right-content">
files: ported repository files controllers to pyramid views.
r1927 % for email, user, commits in sorted(c.authors, key=lambda e: c.file_last_commit.author_email!=e[0]):
files: make authors box a table
r3697 <tr class="file_author tooltip" title="${h.tooltip(h.author_string(email))}">
files: ported repository files controllers to pyramid views.
r1927
files: make authors box a table
r3697 <td>
<span class="user commit-author">${h.link_to_user(user)}</span>
files: ported repository files controllers to pyramid views.
r1927 % if c.file_author:
Liviu
file details view summary box changes, not yet finnished
r3653 <span class="commit-date">- ${h.age_component(c.file_last_commit.date)}</span>
files: ported repository files controllers to pyramid views.
r1927 % elif c.file_last_commit.author_email==email:
<span> (${_('last author')})</span>
% endif
files: make authors box a table
r3697 </td>
files: ported repository files controllers to pyramid views.
r1927
files: make authors box a table
r3697 <td>
files: ported repository files controllers to pyramid views.
r1927 % if not c.file_author:
files: make authors box a table
r3697 <code>
files: ported repository files controllers to pyramid views.
r1927 % if commits == 1:
${commits} ${_('Commit')}
% else:
${commits} ${_('Commits')}
% endif
files: make authors box a table
r3697 </code>
files: ported repository files controllers to pyramid views.
r1927 % endif
files: make authors box a table
r3697 </td>
</tr>
<tr>
<td colspan="2">
% if c.file_author:
<a href="#ShowAuthors" id="show_authors" class="action_link">${_('Show Authors')}</a>
% endif
</td>
</tr>
templating: use .mako as extensions for template files.
r1282 % endfor
files: make authors box a table
r3697 </table>
templating: use .mako as extensions for template files.
r1282 % endif
files: make authors box a table
r3697