##// END OF EJS Templates
invalidation: simplify get_prefix...
invalidation: simplify get_prefix str.split will always have a [0], and cache_key will always contain repo_name=cache_args and the split will thus always return two elements

File last commit:

r3614:e8db9fe4 beta
r3683:df57253e beta
Show More
compare_cs.html
41 lines | 1.7 KiB | text/html | HtmlLexer
created pull-request overview
r2395 ## Changesets table !
<div class="container">
%if not c.cs_ranges:
Multiple changes for compare system...
r3015 <span class="empty_data">${_('No changesets')}</span>
created pull-request overview
r2395 %else:
Mads Kiilerich
compare/pullrequest: introduce merge parameter...
r3486 <table class="compare_view_commits noborder">
Mads Kiilerich
pullrequests: show changesets with highest revision on top, like in most other lists
r3518 %for cs in reversed(c.cs_ranges):
created pull-request overview
r2395 <tr>
<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
Added basic models for saving open pull requests...
r2434 </td>
Mads Kiilerich
compare: reorder columns in changeset list - this feels more natural to me...
r3610 <td><span class="tooltip" title="${h.tooltip(h.age(cs.date))}">${cs.date}</span></td>
<td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td>
<td><div class="author">${h.person(cs.author)}</div></td>
Mads Kiilerich
compare: drop target_repo - it is always other_repo
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))}
Added basic models for saving open pull requests...
r2434 %if c.as_form:
${h.hidden('revisions',cs.raw_id)}
%endif
</td>
fix branch UI issue for git repos
r3614 <td>
%if cs.branch:
<span class="branchtag">${cs.branch}</span>
%endif
</td>
Optimized look of compare view of changesets....
r3011 <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>
created pull-request overview
r2395 </tr>
%endfor
Mads Kiilerich
compare/pullrequest: introduce merge parameter...
r3486 </table>
%if c.ancestor:
<span class="ancestor">${_('Ancestor')}:
use short id in ancestor
r3506 ${h.link_to(h.short_id(c.ancestor),h.url('changeset_home',repo_name=c.repo_name,revision=c.ancestor))}
Mads Kiilerich
compare/pullrequest: introduce merge parameter...
r3486 </span>
%endif
%if c.as_form:
${h.hidden('ancestor_rev',c.ancestor)}
${h.hidden('merge_rev',c.cs_ranges[-1].raw_id)}
%endif
created pull-request overview
r2395 %endif
Added basic models for saving open pull requests...
r2434 </div>