pullrequest_show_all.html
42 lines
| 1.1 KiB
| text/html
|
HtmlLexer
r2440 | <%inherit file="/base/base.html"/> | |||
<%def name="title()"> | ||||
r2608 | ${c.repo_name} ${_('all pull requests')} | |||
r2440 | </%def> | |||
<%def name="breadcrumbs_links()"> | ||||
Takumi IINO
|
r2492 | ${h.link_to(_(u'Home'),h.url('/'))} | ||
r2440 | » | |||
${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> | ||||
r2478 | ||||
r2440 | %for pr in c.pull_requests: | |||
r2586 | <div> | |||
r2608 | <h4> | |||
%if pr.is_closed(): | ||||
<img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" /> | ||||
r2673 | %endif | |||
r2608 | <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> | |||
r2586 | ${_('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> | ||||
r2440 | %endfor | |||
r2478 | ||||
r2440 | </div> | |||
<script type="text/javascript"></script> | ||||
</%def> | ||||