changeset 3742:7d988c308533 beta

move pr closed tag to the end, it's not important now to show it, when we have a gray indicator of closed pr
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 11 Apr 2013 21:37:20 +0200
parents 7236ae349494
children 490e95264d7f
files rhodecode/templates/pullrequests/pullrequest_data.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest_data.html	Thu Apr 11 21:21:59 2013 +0200
+++ b/rhodecode/templates/pullrequests/pullrequest_data.html	Thu Apr 11 21:37:20 2013 +0200
@@ -3,13 +3,13 @@
 % for pr in c.pullrequests_pager:
   <div class="pr ${'pr-closed' if pr.is_closed() else ''}">
     <div class="pr-title">
-       %if pr.is_closed():
-         <div style="float:left;margin: -4px 0px;"><span class="pr-closed-tag">${_('Closed')}</span></div>
-       %endif
       <img src="${h.url('/images/icons/flag_status_%s.png' % str(pr.last_review_status))}" />
       <a href="${h.url('pullrequest_show',repo_name=c.repo_name,pull_request_id=pr.pull_request_id)}">
       ${_('Pull request #%s opened by %s on %s') % (pr.pull_request_id, pr.author.full_name, h.fmt_date(pr.created_on))}
       </a>
+       %if pr.is_closed():
+         <span class="pr-closed-tag">${_('Closed')}</span>
+       %endif
     </div>
     <h5 style="border:0px;padding-bottom:0px">${_('Title')}: ${pr.title}</h5>
     <div>${pr.description}</div>