Show More
@@ -1,42 +1,43 b'' | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${c.repo_name} ${_('all pull requests')} |
|
4 | ${c.repo_name} ${_('all pull requests')} | |
5 | </%def> |
|
5 | </%def> | |
6 |
|
6 | |||
7 | <%def name="breadcrumbs_links()"> |
|
7 | <%def name="breadcrumbs_links()"> | |
8 | ${h.link_to(_(u'Home'),h.url('/'))} |
|
8 | ${h.link_to(_(u'Home'),h.url('/'))} | |
9 | » |
|
9 | » | |
10 | ${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))} |
|
10 | ${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))} | |
11 | » |
|
11 | » | |
12 | ${_('All pull requests')} |
|
12 | ${_('All pull requests')} | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 | |||
15 | <%def name="main()"> |
|
15 | <%def name="main()"> | |
16 |
|
16 | |||
17 | <div class="box"> |
|
17 | <div class="box"> | |
18 | <!-- box / title --> |
|
18 | <!-- box / title --> | |
19 | <div class="title"> |
|
19 | <div class="title"> | |
20 | ${self.breadcrumbs()} |
|
20 | ${self.breadcrumbs()} | |
21 | </div> |
|
21 | </div> | |
22 |
|
22 | |||
23 | %for pr in c.pull_requests: |
|
23 | %for pr in c.pull_requests: | |
24 | <div> |
|
24 | <div> | |
25 | <h4> |
|
25 | <h4 style="border:0px;padding:0px"> | |
26 | %if pr.is_closed(): |
|
26 | %if pr.is_closed(): | |
27 | <img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" /> |
|
27 | <img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" /> | |
28 | %endif |
|
28 | %endif | |
29 | <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> |
|
29 | <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}"> | |
30 | ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))} |
|
30 | ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))} | |
31 | </a> |
|
31 | </a> | |
32 | </h4> |
|
32 | </h4> | |
33 | <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5> |
|
33 | <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5> | |
34 | <div style="padding:0px 24px">${pr.description}</div> |
|
34 | <div style="padding:0px 24px">${pr.description}</div> | |
|
35 | <div style="border-bottom: 1px solid #DDD;margin:10px 20px;padding-bottom:10px"></div> | |||
35 | </div> |
|
36 | </div> | |
36 | %endfor |
|
37 | %endfor | |
37 |
|
38 | |||
38 | </div> |
|
39 | </div> | |
39 |
|
40 | |||
40 | <script type="text/javascript"></script> |
|
41 | <script type="text/javascript"></script> | |
41 |
|
42 | |||
42 | </%def> |
|
43 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now