##// END OF EJS Templates
#590 Add GET flag that controls the way the diff are generated, for pull requests we want to use non-bundle based diffs,...
#590 Add GET flag that controls the way the diff are generated, for pull requests we want to use non-bundle based diffs, That are far better for doing code reviews. The /compare url still uses bundle compare for full comparision including the incoming changesets. - Fixed tests

File last commit:

r2732:c25cc1c7 beta
r2892:5fba3778 beta
Show More
compare_cs.html
27 lines | 1.1 KiB | text/html | HtmlLexer
created pull-request overview
r2395 ## Changesets table !
<div class="container">
<table class="compare_view_commits noborder">
%if not c.cs_ranges:
<tr><td>${_('No changesets')}</td></tr>
%else:
%for cnt, cs in enumerate(c.cs_ranges):
<tr>
again #531 forgot to replace other occurences of h.email call
r2732 <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td>
created pull-request overview
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
Added basic models for saving open pull requests...
r2434 </td>
Fixed origin repo in pull-request view
r2487 <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))}
Added basic models for saving open pull requests...
r2434 %if c.as_form:
${h.hidden('revisions',cs.raw_id)}
%endif
</td>
created pull-request overview
r2395 <td><div class="author">${h.person(cs.author)}</div></td>
<td><span class="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td>
<td><div class="message">${h.urlify_commit(h.wrap_paragraphs(cs.message),c.repo_name)}</div></td>
</tr>
%endfor
%endif
</table>
Added basic models for saving open pull requests...
r2434 </div>