##// END OF EJS Templates
js: refactor js and move logic to files.js
js: refactor js and move logic to files.js

File last commit:

r3713:d94ac941 new-ui
r3713:d94ac941 new-ui
Show More
file_authors_box.mako
35 lines | 1.1 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>
js: refactor js and move logic to files.js
r3713 <a href="#ShowAuthors" onclick="showAuthors(this, ${("1" if c.annotate else "0")}); return false" class="action_link"> - ${_('Load All Authors')}</a>
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>
files: updated based on new design
r3706
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