diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2013-01-18 01:48:07 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2013-01-18 01:48:07 +0100 |
commit | de7d64eeafe3f5642befb6fe1b92880e889cc873 (patch) | |
tree | e43c7b8488ff5970d4cf771c3107b700c4a42be8 /rhodecode/templates/pullrequests/pullrequest_show.html | |
parent | edf6d6401607e7e833276d42dc449430ae9e4dc4 (diff) |
implemented #725 Pull Request View - Show origin repo URL
--HG--
branch : beta
extra : amend_source : 329e7a6f060147bf11fa406382bfa9d21b678ffd
Diffstat (limited to 'rhodecode/templates/pullrequests/pullrequest_show.html')
-rw-r--r-- | rhodecode/templates/pullrequests/pullrequest_show.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html index 9e8220b6..049aaf65 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>${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> |