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