Show More
@@ -71,7 +71,9 b'' | |||||
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 | ||
|
75 | ## branch link is only valid if it is a branch | |||
|
76 | <span class="spantag"><a href="${h.url('summary_home', repo_name=c.pull_request.org_repo.repo_name, anchor=c.pull_request.org_ref_parts[1])}">${c.pull_request.org_ref_parts[0]}: ${c.pull_request.org_ref_parts[1]}</a></span> | |||
75 | <span> |
|
77 | <span> | |
76 | %if h.is_hg(c.pull_request.org_repo): |
|
78 | %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> |
|
79 | | ${_('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> |
General Comments 0
You need to be logged in to leave comments.
Login now