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