diff rhodecode/templates/pullrequests/pullrequest_show.html @ 3170:2ab2eed4a70a beta

implemented #725 Pull Request View - Show origin repo URL
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 18 Jan 2013 01:48:07 +0100
parents 68f9c216377d
children 5d1d25c1c700
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest_show.html	Fri Jan 18 01:11:28 2013 +0100
+++ b/rhodecode/templates/pullrequests/pullrequest_show.html	Fri Jan 18 01:48:07 2013 +0100
@@ -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>${c.pull_request.org_repo.clone_url()}</span> 
+              </div>
+          </div>
+         </div>         
       </div>
     </div>
     <div style="white-space:pre-wrap;padding:3px 3px 5px 20px">${h.literal(c.pull_request.description)}</div>