diff --git a/rhodecode/templates/changeset/changeset_file_comment.html b/rhodecode/templates/changeset/changeset_file_comment.html --- a/rhodecode/templates/changeset/changeset_file_comment.html +++ b/rhodecode/templates/changeset/changeset_file_comment.html @@ -20,7 +20,7 @@ %if co.pull_request: %if co.status_change: - ${_('Status change on pull request #%s') % co.pull_request.pull_request_id}: + ${_('Vote on pull request #%s') % co.pull_request.pull_request_id}: %else: ${_('Comment on pull request #%s') % co.pull_request.pull_request_id} %endif @@ -142,7 +142,7 @@ ## MAIN COMMENT FORM -<%def name="comments(post_url, cur_status, close_btn=False, change_status=True)"> +<%def name="comments(post_url, cur_status, is_pr=False, change_status=True)">
%if c.rhodecode_user.username != 'default': @@ -154,7 +154,13 @@ '@mention' % _('Use @username inside this text to send notification to this RhodeCode user')))|n} %if change_status: - | ${_('Change status')} + | + %if is_pr: + ${_('Vote for pull request status')} + %else: + ${_('Change changeset status')} + %endif + %endif
${_('Preview')}
@@ -167,7 +173,7 @@
%endfor - %if close_btn and change_status: + %if is_pr and change_status: %endif diff --git a/rhodecode/templates/changeset/changeset_range.html b/rhodecode/templates/changeset/changeset_range.html --- a/rhodecode/templates/changeset/changeset_range.html +++ b/rhodecode/templates/changeset/changeset_range.html @@ -101,7 +101,6 @@ ${diff_block.diff_block(c.changes[cs.raw_id])} - ##${comment.comments(cs)} %endfor