Files
@ c9b0f1d363c7
Branch filter:
Location: kallithea/rhodecode/templates/compare/compare_cs.html - annotation
c9b0f1d363c7
1.2 KiB
text/html
compare: swap org and other when they refer to different repos, ie are pull request style
Pull requests will have a different from/to description - but in a consistent
and slightly better way that can be improved later.
A pull request diff is empathic: "How will this look for the peer I'm proposing to" style.
Pull requests will have a different from/to description - but in a consistent
and slightly better way that can be improved later.
A pull request diff is empathic: "How will this look for the peer I'm proposing to" style.
b262e349a7a5 b262e349a7a5 b262e349a7a5 b262e349a7a5 16af24982e30 b262e349a7a5 b262e349a7a5 b262e349a7a5 c25cc1c7c65f b262e349a7a5 b262e349a7a5 b262e349a7a5 b262e349a7a5 f29469677319 995d938ce14b f29469677319 f29469677319 f29469677319 f29469677319 b262e349a7a5 25d77aef2729 25d77aef2729 b262e349a7a5 b262e349a7a5 25d77aef2729 b262e349a7a5 b262e349a7a5 f29469677319 | ## Changesets table !
<div class="container">
<table class="compare_view_commits noborder">
%if not c.cs_ranges:
<span class="empty_data">${_('No changesets')}</span>
%else:
%for cnt, cs in enumerate(c.cs_ranges):
<tr>
<td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td>
<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
</td>
<td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.target_repo,revision=cs.raw_id))}
%if c.as_form:
${h.hidden('revisions',cs.raw_id)}
%endif
</td>
<td><div class="author">${h.person(cs.author)}</div></td>
<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>
</tr>
%endfor
%endif
</table>
</div>
|