Show More
@@ -1,35 +1,38 b'' | |||
|
1 | 1 | <%namespace name="base" file="/base/base.mako"/> |
|
2 | 2 | |
|
3 | 3 | % if c.authors: |
|
4 | 4 | |
|
5 | 5 | <table class="sidebar-right-content"> |
|
6 | 6 | % for email, user, commits in sorted(c.authors, key=lambda e: c.file_last_commit.author_email!=e[0]): |
|
7 | 7 | <tr class="file_author tooltip" title="${h.tooltip(h.author_string(email))}"> |
|
8 | 8 | |
|
9 | 9 | <td> |
|
10 | % if not c.file_author: | |
|
11 | ${base.gravatar(email, 16)} | |
|
12 | % endif | |
|
10 | 13 | <span class="user commit-author">${h.link_to_user(user)}</span> |
|
11 | 14 | % if c.file_author: |
|
12 | 15 | <span class="commit-date">- ${h.age_component(c.file_last_commit.date)}</span> |
|
13 | 16 | <a href="#ShowAuthors" onclick="showAuthors(this, ${("1" if c.annotate else "0")}); return false" class="action_link"> - ${_('Load All Authors')}</a> |
|
14 | 17 | % elif c.file_last_commit.author_email==email: |
|
15 | 18 | <span> (${_('last author')})</span> |
|
16 | 19 | % endif |
|
17 | 20 | </td> |
|
18 | 21 | |
|
19 | 22 | <td> |
|
20 | 23 | % if not c.file_author: |
|
21 | 24 | <code> |
|
22 | 25 | % if commits == 1: |
|
23 | 26 | ${commits} ${_('Commit')} |
|
24 | 27 | % else: |
|
25 | 28 | ${commits} ${_('Commits')} |
|
26 | 29 | % endif |
|
27 | 30 | </code> |
|
28 | 31 | % endif |
|
29 | 32 | </td> |
|
30 | 33 | </tr> |
|
31 | 34 | |
|
32 | 35 | % endfor |
|
33 | 36 | </table> |
|
34 | 37 | % endif |
|
35 | 38 |
General Comments 0
You need to be logged in to leave comments.
Login now