aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/templates/pullrequests/pullrequest_show.html
diff options
context:
space:
mode:
Diffstat (limited to 'rhodecode/templates/pullrequests/pullrequest_show.html')
-rw-r--r--rhodecode/templates/pullrequests/pullrequest_show.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html
index 2388b6dc..2257528b 100644
--- a/rhodecode/templates/pullrequests/pullrequest_show.html
+++ b/rhodecode/templates/pullrequests/pullrequest_show.html
@@ -51,6 +51,24 @@
%endif
</div>
</div>
+ <div class="field">
+ <div class="label-summary">
+ <label>${_('Origin repository')}:</label>
+ </div>
+ <div class="input">
+ <div>
+ ##%if h.is_hg(c.pull_request.org_repo):
+ ## <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/>
+ ##%elif h.is_git(c.pull_request.org_repo):
+ ## <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/>
+ ##%endif
+ <span class="spantag">${c.pull_request.org_ref_parts[0]}</span>
+ :
+ <span class="spantag">${c.pull_request.org_ref_parts[1]}</span>
+ <span><a href="${h.url('summary_home', repo_name=c.pull_request.org_repo.repo_name)}">${c.pull_request.org_repo.clone_url()}</a></span>
+ </div>
+ </div>
+ </div>
</div>
</div>
<div style="white-space:pre-wrap;padding:3px 3px 5px 20px">${h.literal(c.pull_request.description)}</div>
@@ -198,7 +216,7 @@
// inject comments into they proper positions
var file_comments = YUQ('.inline-comment-placeholder');
renderInlineComments(file_comments);
-
+
YUE.on(YUD.get('update_pull_request'),'click',function(e){
updateReviewers();
})