##// END OF EJS Templates
move pr closed tag to the end, it's not important now to show it, when we have a gray indicator of closed pr
marcink -
r3742:7d988c30 beta
parent child Browse files
Show More
@@ -1,24 +1,24 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2
2
3 % for pr in c.pullrequests_pager:
3 % for pr in c.pullrequests_pager:
4 <div class="pr ${'pr-closed' if pr.is_closed() else ''}">
4 <div class="pr ${'pr-closed' if pr.is_closed() else ''}">
5 <div class="pr-title">
5 <div class="pr-title">
6 %if pr.is_closed():
7 <div style="float:left;margin: -4px 0px;"><span class="pr-closed-tag">${_('Closed')}</span></div>
8 %endif
9 <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
6 <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
10 <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}">
7 <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}">
11 ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))}
8 ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))}
12 </a>
9 </a>
10 %if pr.is_closed():
11 <span class="pr-closed-tag">${_('Closed')}</span>
12 %endif
13 </div>
13 </div>
14 <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
14 <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
15 <div>${pr.description}</div>
15 <div>${pr.description}</div>
16 </div>
16 </div>
17 % endfor
17 % endfor
18
18
19
19
20 <div class="notification-paginator">
20 <div class="notification-paginator">
21 <div class="pagination-wh pagination-left">
21 <div class="pagination-wh pagination-left">
22 ${c.pullrequests_pager.pager('$link_previous ~2~ $link_next')}
22 ${c.pullrequests_pager.pager('$link_previous ~2~ $link_next')}
23 </div>
23 </div>
24 </div>
24 </div>
General Comments 0
You need to be logged in to leave comments. Login now