diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-12-14 03:24:30 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-12-14 03:24:30 +0100 |
commit | ee3bfe8aa24275b51f1f8d394c7ca0a937d626f8 (patch) | |
tree | 8bf024bd2bed974c1eb0248c301991ac7aa31e78 | |
parent | 35a6193af6dfc4ce5ceb1e4f6242a337d58ad788 (diff) |
fixed labels in reviewers list
--HG--
branch : beta
-rw-r--r-- | rhodecode/templates/pullrequests/pullrequest_show.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html index 376347b6..cbadd0f0 100644 --- a/rhodecode/templates/pullrequests/pullrequest_show.html +++ b/rhodecode/templates/pullrequests/pullrequest_show.html @@ -109,9 +109,9 @@ <img src="${h.url(str('/images/icons/flag_status_%s.png' % (status[0][1].status if status else 'not_reviewed')))}"/> </div> <div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(member.email,14)}"/> </div> - <div style="float:left">${member.full_name} (${_('owner')})</div> + <div style="float:left">${member.full_name} (${_('owner') if c.pull_request.user_id == member.user_id else _('reviewer')})</div> <input type="hidden" value="${member.user_id}" name="review_members" /> - %if not c.pull_request.is_closed() and (h.HasPermissionAny('hg.admin', 'repository.admin')() or c.pull_request.author.user_id == c.rhodecode_user.user_id): + %if not c.pull_request.is_closed() and (h.HasPermissionAny('hg.admin', 'repository.admin')() or c.pull_request.user_id == c.rhodecode_user.user_id): <span class="delete_icon action_button" onclick="removeReviewer(${member.user_id})"></span> %endif </div> |