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