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