Files
@ b70c6652a0d4
Branch filter:
Location: kallithea/rhodecode/templates/pullrequests/pullrequest_show_all.html - annotation
b70c6652a0d4
1.1 KiB
text/html
fixed issue #644 When a user is both in read and write group, the permission taken in account is the last saved permission
- added configurable parameters to permission class with two algorithms, higherwin and lowerwin.
- default is set now to higherwin, later we'll make that configurable
- added configurable parameters to permission class with two algorithms, higherwin and lowerwin.
- default is set now to higherwin, later we'll make that configurable
1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 58c529332e7e 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 79818f546538 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 8eab81115660 1bc579bcd67a a5e32ed7f790 58c529332e7e 58c529332e7e 58c529332e7e d5e42c00f3c1 58c529332e7e a5e32ed7f790 a5e32ed7f790 a5e32ed7f790 a5e32ed7f790 a5e32ed7f790 a5e32ed7f790 1bc579bcd67a 8eab81115660 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a | <%inherit file="/base/base.html"/>
<%def name="title()">
${c.repo_name} ${_('all pull requests')}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_(u'Home'),h.url('/'))}
»
${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))}
»
${_('All pull requests')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
%for pr in c.pull_requests:
<div>
<h4>
%if pr.is_closed():
<img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" />
%endif
<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>
</h4>
<h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
<div style="padding:0px 24px">${pr.description}</div>
</div>
%endfor
</div>
<script type="text/javascript"></script>
</%def>
|