##// END OF EJS Templates
file details view summary box changes, not yet finnished
file details view summary box changes, not yet finnished

File last commit:

r3653:db7a4a6a new-ui
r3653:db7a4a6a new-ui
Show More
file_authors_box.mako
30 lines | 1.0 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%namespace name="base" file="/base/base.mako"/>
% if c.authors:
<ul 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]):
templating: use .mako as extensions for template files.
r1282 <li class="file_author">
files: ported repository files controllers to pyramid views.
r1927 <div class="tooltip" title="${h.tooltip(h.author_string(email))}">
Liviu
file details view summary box changes, not yet finnished
r3653 <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
% if not c.file_author:
<span>
% if commits == 1:
${commits} ${_('Commit')}
% else:
${commits} ${_('Commits')}
% endif
</span>
% endif
templating: use .mako as extensions for template files.
r1282 </div>
</li>
% endfor
</ul>
% endif
Liviu
file details view summary box changes, not yet finnished
r3653 <a href="#" id="show_authors" class="action_link">${_('Show All')}</a>