changeset 3263:1095b67f8054 beta

show status of pull requests and if it's closed
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 30 Jan 2013 00:32:34 +0100
parents 14e9a06c37a7
children 565806c66c4d
files rhodecode/templates/pullrequests/pullrequest_show_all.html
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest_show_all.html	Wed Jan 30 00:11:35 2013 +0100
+++ b/rhodecode/templates/pullrequests/pullrequest_show_all.html	Wed Jan 30 00:32:34 2013 +0100
@@ -24,8 +24,9 @@
         <div>
           <h4  style="border:0px;padding:0px">
             %if pr.is_closed():
-            <img src="${h.url('/images/icons/tick.png')}" alt="${_('Closed')}" />
+                <img src="${h.url('/images/icons/lock_go.png')}" title="${_('Closed')}"/>
             %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>