comparison rhodecode/templates/pullrequests/pullrequest_show.html @ 4047:3608f15f51ed

pull requests: show pull url with revision to merge the pull request
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 27 Jun 2013 22:45:56 +0200
parents 6133e598f4b4
children fd4ea41c2dc1
comparison
equal deleted inserted replaced
4046:38ab60c1fb2b 4047:3608f15f51ed
70 ## <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> 70 ## <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/>
71 ##%elif h.is_git(c.pull_request.org_repo): 71 ##%elif h.is_git(c.pull_request.org_repo):
72 ## <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/> 72 ## <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/>
73 ##%endif 73 ##%endif
74 <span class="spantag">${c.pull_request.org_ref_parts[0]}: ${c.pull_request.org_ref_parts[1]}</span> 74 <span class="spantag">${c.pull_request.org_ref_parts[0]}: ${c.pull_request.org_ref_parts[1]}</span>
75 <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> 75 <span>
76 %if h.is_hg(c.pull_request.org_repo):
77 | ${_('Pull changes')} <span style="font-family: monospace">hg pull -r ${h.short_id(c.cs_ranges[-1].raw_id)} <a href="${h.url('summary_home', repo_name=c.pull_request.org_repo.repo_name)}">${c.pull_request.org_repo.clone_url()}</a></span>
78 %elif h.is_git(c.pull_request.org_repo):
79 | ${_('Pull changes')}
80 %endif
76 </div> 81 </div>
77 </div> 82 </div>
78 </div> 83 </div>
79 <div class="field"> 84 <div class="field">
80 <div class="label-summary"> 85 <div class="label-summary">