##// END OF EJS Templates
fixed edge case when connection to db fails and code reaches state of variable referenced before assignment
fixed edge case when connection to db fails and code reaches state of variable referenced before assignment

File last commit:

r3742:7d988c30 beta
r4015:669721d1 default
Show More
pullrequest_data.html
24 lines | 882 B | text/html | HtmlLexer
pagination in pull-requests page + UI
r3676 ## -*- coding: utf-8 -*-
% for pr in c.pullrequests_pager:
<div class="pr ${'pr-closed' if pr.is_closed() else ''}">
<div class="pr-title">
<img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
<a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}">
${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))}
</a>
move pr closed tag to the end, it's not important now to show it, when we have a gray indicator of closed pr
r3742 %if pr.is_closed():
<span class="pr-closed-tag">${_('Closed')}</span>
%endif
pagination in pull-requests page + UI
r3676 </div>
<h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
<div>${pr.description}</div>
</div>
% endfor
killed some alien JS code that got into pullrequest_data template
r3732
small ui fixes for pr page
r3677 <div class="notification-paginator">
<div class="pagination-wh pagination-left">
${c.pullrequests_pager.pager('$link_previous ~2~ $link_next')}
</div>
New default permissions definition for user group create
r3734 </div>