##// END OF EJS Templates
added "add group" shortcuts for admins, and group admins
added "add group" shortcuts for admins, and group admins

File last commit:

r3263:1095b67f beta
r3369:667630c9 beta
Show More
pullrequest_show_all.html
44 lines | 1.4 KiB | text/html | HtmlLexer
- pull request generates overview based on it's params...
r2440 <%inherit file="/base/base.html"/>
<%def name="title()">
Added option to close pull requests, in future that will be close & merge
r2608 ${c.repo_name} ${_('all pull requests')}
- pull request generates overview based on it's params...
r2440 </%def>
<%def name="breadcrumbs_links()">
Takumi IINO
i18n 'Home' in breadcrumbs
r2492 ${h.link_to(_(u'Home'),h.url('/'))}
- pull request generates overview based on it's params...
r2440 &raquo;
${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))}
&raquo;
${_('All pull requests')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
white space cleanup
r2478
- pull request generates overview based on it's params...
r2440 %for pr in c.pull_requests:
little love for pull-requests list
r2586 <div>
some formatting on list of pull-requests
r3259 <h4 style="border:0px;padding:0px">
%if pr.is_closed():
show status of pull requests and if it's closed
r3263 <img src="${h.url('/images/icons/lock_go.png')}" title="${_('Closed')}"/>
some formatting on list of pull-requests
r3259 %endif
show status of pull requests and if it's closed
r3263 <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
some formatting on list of pull-requests
r3259 <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>
little love for pull-requests list
r2586 </h4>
<h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
<div style="padding:0px 24px">${pr.description}</div>
some formatting on list of pull-requests
r3259 <div style="border-bottom: 1px solid #DDD;margin:10px 20px;padding-bottom:10px"></div>
little love for pull-requests list
r2586 </div>
- pull request generates overview based on it's params...
r2440 %endfor
white space cleanup
r2478
- pull request generates overview based on it's params...
r2440 </div>
<script type="text/javascript"></script>
</%def>