# HG changeset patch # User Marcin Kuzminski # Date 2012-12-14 02:24:30 # Node ID 706b9f84ade30ad960338e476e1a35a9b18c2fbb # Parent c77d5c6358eb239cb05ab87d4052b17e8b1d4458 fixed labels in reviewers list diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html --- a/rhodecode/templates/pullrequests/pullrequest_show.html +++ b/rhodecode/templates/pullrequests/pullrequest_show.html @@ -109,9 +109,9 @@
gravatar
-
${member.full_name} (${_('owner')})
+
${member.full_name} (${_('owner') if c.pull_request.user_id == member.user_id else _('reviewer')})
- %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): %endif