Files
@ 8a8a559eaf95
Branch filter:
Location: kallithea/rhodecode/templates/pullrequests/pullrequest_show_all.html - annotation
8a8a559eaf95
1.3 KiB
text/html
pullrequests: state "closed" explicitly
A closed-as-in-locked icon did not communicate the closed-as-in-inactive state
clearly.
Instead we say "Closed" and make the text greyed out. Not pretty but more
efficient.
A closed-as-in-locked icon did not communicate the closed-as-in-inactive state
clearly.
Instead we say "Closed" and make the text greyed out. Not pretty but more
efficient.
1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1f334a68d057 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 9e677f6d34cb 1bc579bcd67a 1bc579bcd67a 2ea981f9da79 2ea981f9da79 2ea981f9da79 2ea981f9da79 1bc579bcd67a 87c97fcea029 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 8eab81115660 1bc579bcd67a 8a8a559eaf95 8a8a559eaf95 1095b67f8054 99cb0cf75a4c 99cb0cf75a4c 99cb0cf75a4c 8a8a559eaf95 8a8a559eaf95 8a8a559eaf95 a5e32ed7f790 a5e32ed7f790 a5e32ed7f790 99cb0cf75a4c a5e32ed7f790 1bc579bcd67a 8eab81115660 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a | <%inherit file="/base/base.html"/>
<%def name="title()">
${_('%s Pull Requests') % c.repo_name} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${_('Pull requests')}
</%def>
<%def name="page_nav()">
${self.menu('repositories')}
</%def>
<%def name="main()">
${self.context_bar('showpullrequest')}
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
%for pr in c.pull_requests:
<div class="${'closed' if pr.is_closed() else ''}">
<h4 style="border:0px;padding:0px">
<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>
%if pr.is_closed():
(${_('Closed')})
%endif
</h4>
<h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
<div style="padding:0px 24px">${pr.description}</div>
<div style="border-bottom: 1px solid #DDD;margin:10px 20px;padding-bottom:10px"></div>
</div>
%endfor
</div>
</%def>
|