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