comparison rhodecode/templates/pullrequests/pullrequest_show_all.html @ 3676:9d2db665ef31 beta

pagination in pull-requests page + UI
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 04 Apr 2013 22:33:41 +0200
parents 8a8a559eaf95
children 072a37c44f58
comparison
equal deleted inserted replaced
3675:7a5b11c23288 3676:9d2db665ef31
12 ${self.menu('repositories')} 12 ${self.menu('repositories')}
13 </%def> 13 </%def>
14 14
15 <%def name="main()"> 15 <%def name="main()">
16 ${self.context_bar('showpullrequest')} 16 ${self.context_bar('showpullrequest')}
17
17 <div class="box"> 18 <div class="box">
18 <!-- box / title --> 19 <!-- box / title -->
19 <div class="title"> 20 <div class="title">
20 ${self.breadcrumbs()} 21 ${self.breadcrumbs()}
21 </div> 22 </div>
22 23 ${c.pullrequest_data}
23 %for pr in c.pull_requests:
24 <div class="${'closed' if pr.is_closed() else ''}">
25 <h4 style="border:0px;padding:0px">
26 <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
27 <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}">
28 ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))}
29 </a>
30 %if pr.is_closed():
31 (${_('Closed')})
32 %endif
33 </h4>
34 <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
35 <div style="padding:0px 24px">${pr.description}</div>
36 <div style="border-bottom: 1px solid #DDD;margin:10px 20px;padding-bottom:10px"></div>
37 </div>
38 %endfor
39
40 </div> 24 </div>
41 25
42 </%def> 26 </%def>