diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html +++ b/kallithea/templates/pullrequests/pullrequest_show.html @@ -242,6 +242,29 @@ ${self.repo_context_bar('showpullrequest %endif + + %if not c.pull_request_reviewers: +
${_('Potential Reviewers')}
+
+
+ ${_('Click to add the repository owner as reviewer:')} +
+ +
+ %endif
@@ -378,6 +401,11 @@ ${self.repo_context_bar('showpullrequest if (window.location.hash != "") { window.location.href = window.location.href; } + + $('.missing_reviewer').click(function(){ + var $this = $(this); + addReviewMember($this.attr('user_id'), $this.attr('fname'), $this.attr('lname'), $this.attr('nname'), $this.attr('gravatar_lnk'), $this.attr('gravatar_size')); + }); });