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 @@ -20,8 +20,59 @@ ${self.breadcrumbs()} - pull request ${c.pull_request} overview... +

${_('Title')}: ${c.pull_request.title}

+
+ %if c.current_changeset_status: +
[${h.changeset_status_lbl(c.current_changeset_status)}]
+
+ %endif +
+
+
${h.fmt_date(c.pull_request.created_on)}
+
+ + ##DIFF + +
+
+
${h.literal(c.pull_request.description)}
+
+
+ ##CS +
${_('Incoming changesets')}
+ <%include file="/compare/compare_cs.html" /> + ## FILES +
${_('Files affected')}
+
+ %for fid, change, f, stat in c.files: +
+
${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid))}
+
${h.fancy_file_stats(stat)}
+
+ %endfor +
+
+
+ + + ## diff block + <%namespace name="diff_block" file="/changeset/diff_block.html"/> + %for fid, change, f, stat in c.files: + ${diff_block.diff_block_simple([c.changes[fid]])} + %endfor + + ## template for inline comment form + <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> + ##${comment.comment_inline_form(c.changeset)} + + ## render comments main comments form and it status + ##${comment.comments(h.url('pull_request_comment', repo_name=c.repo_name, pull_request_id=c.pull_request.pull_request_id), + ## c.current_changeset_status)} +