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