Show More
@@ -1,36 +1,36 b'' | |||||
1 | ## Changesets table ! |
|
1 | ## Changesets table ! | |
2 | <div class="container"> |
|
2 | <div class="container"> | |
3 | %if not c.cs_ranges: |
|
3 | %if not c.cs_ranges: | |
4 | <span class="empty_data">${_('No changesets')}</span> |
|
4 | <span class="empty_data">${_('No changesets')}</span> | |
5 | %else: |
|
5 | %else: | |
6 | <table class="compare_view_commits noborder"> |
|
6 | <table class="compare_view_commits noborder"> | |
7 |
%for c |
|
7 | %for cs in reversed(c.cs_ranges): | |
8 | <tr> |
|
8 | <tr> | |
9 | <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td> |
|
9 | <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td> | |
10 | <td> |
|
10 | <td> | |
11 | %if cs.raw_id in c.statuses: |
|
11 | %if cs.raw_id in c.statuses: | |
12 | <div title="${c.statuses[cs.raw_id][1]}" class="changeset-status-ico"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses[cs.raw_id][0])}" /></div> |
|
12 | <div title="${c.statuses[cs.raw_id][1]}" class="changeset-status-ico"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses[cs.raw_id][0])}" /></div> | |
13 | %endif |
|
13 | %endif | |
14 | </td> |
|
14 | </td> | |
15 | <td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.other_repo.repo_name,revision=cs.raw_id))} |
|
15 | <td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.other_repo.repo_name,revision=cs.raw_id))} | |
16 | %if c.as_form: |
|
16 | %if c.as_form: | |
17 | ${h.hidden('revisions',cs.raw_id)} |
|
17 | ${h.hidden('revisions',cs.raw_id)} | |
18 | %endif |
|
18 | %endif | |
19 | </td> |
|
19 | </td> | |
20 | <td><div class="author">${h.person(cs.author)}</div></td> |
|
20 | <td><div class="author">${h.person(cs.author)}</div></td> | |
21 | <td><span class="tooltip" title="${h.tooltip(h.age(cs.date))}">${cs.date}</span></td> |
|
21 | <td><span class="tooltip" title="${h.tooltip(h.age(cs.date))}">${cs.date}</span></td> | |
22 | <td><div class="message tooltip" title="${h.tooltip(cs.message)}" style="white-space:normal">${h.urlify_commit(h.shorter(cs.message, 60),c.repo_name)}</div></td> |
|
22 | <td><div class="message tooltip" title="${h.tooltip(cs.message)}" style="white-space:normal">${h.urlify_commit(h.shorter(cs.message, 60),c.repo_name)}</div></td> | |
23 | </tr> |
|
23 | </tr> | |
24 | %endfor |
|
24 | %endfor | |
25 | </table> |
|
25 | </table> | |
26 | %if c.ancestor: |
|
26 | %if c.ancestor: | |
27 | <span class="ancestor">${_('Ancestor')}: |
|
27 | <span class="ancestor">${_('Ancestor')}: | |
28 | ${h.link_to(h.short_id(c.ancestor),h.url('changeset_home',repo_name=c.repo_name,revision=c.ancestor))} |
|
28 | ${h.link_to(h.short_id(c.ancestor),h.url('changeset_home',repo_name=c.repo_name,revision=c.ancestor))} | |
29 | </span> |
|
29 | </span> | |
30 | %endif |
|
30 | %endif | |
31 | %if c.as_form: |
|
31 | %if c.as_form: | |
32 | ${h.hidden('ancestor_rev',c.ancestor)} |
|
32 | ${h.hidden('ancestor_rev',c.ancestor)} | |
33 | ${h.hidden('merge_rev',c.cs_ranges[-1].raw_id)} |
|
33 | ${h.hidden('merge_rev',c.cs_ranges[-1].raw_id)} | |
34 | %endif |
|
34 | %endif | |
35 | %endif |
|
35 | %endif | |
36 | </div> |
|
36 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now