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 @@ -28,7 +28,7 @@
- +
@@ -140,7 +140,7 @@
${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.user_id == c.rhodecode_user.user_id): - + %endif
@@ -152,11 +152,11 @@ %if h.HasPermissionAny('hg.admin', 'repository.admin')() or c.pull_request.author.user_id == c.rhodecode_user.user_id:
${h.text('user', class_='yui-ac-input')} - ${_('Add reviewer to this pull request.')} + ${_('Add or remove reviewer to this pull request.')}
- ${_('save')} + ${_('save changes')}
%endif
@@ -167,9 +167,14 @@ ## diff block @@ -228,7 +233,7 @@ renderInlineComments(file_comments); YUE.on(YUD.get('update_pull_request'),'click',function(e){ - updateReviewers(); + updateReviewers(undefined, "${c.repo_name}", "${c.pull_request.pull_request_id}"); }) })