compare_cs.html
28 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r2395 | ## Changesets table ! | |||
<div class="container"> | ||||
<table class="compare_view_commits noborder"> | ||||
%if not c.cs_ranges: | ||||
r3015 | <span class="empty_data">${_('No changesets')}</span> | |||
r2395 | %else: | |||
%for cnt, cs in enumerate(c.cs_ranges): | ||||
<tr> | ||||
r2732 | <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td> | |||
r2395 | <td> | |||
%if cs.raw_id in c.statuses: | ||||
<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> | ||||
%endif | ||||
r2434 | </td> | |||
Mads Kiilerich
|
r3324 | <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))} | ||
r2434 | %if c.as_form: | |||
${h.hidden('revisions',cs.raw_id)} | ||||
%endif | ||||
</td> | ||||
r2395 | <td><div class="author">${h.person(cs.author)}</div></td> | |||
r3011 | <td><span class="tooltip" title="${h.tooltip(h.age(cs.date))}">${cs.date}</span></td> | |||
<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> | ||||
r2395 | </tr> | |||
%endfor | ||||
r3011 | ||||
r2395 | %endif | |||
</table> | ||||
r2434 | </div> | |||