diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html +++ b/kallithea/templates/pullrequests/pullrequest_show.html @@ -69,14 +69,24 @@ ${self.repo_context_bar('showpullrequest
+ ${c.pull_request.org_repo.clone_url()} ## branch link is only valid if it is a branch ${c.pull_request.org_ref_parts[0]}: ${c.pull_request.org_ref_parts[1]} - +
+
+ +
+
+ +
+
+
+ ## TODO: use cs_ranges[-1] or org_ref_parts[1] in both cases? %if h.is_hg(c.pull_request.org_repo): - | ${_('Pull changes')} hg pull -r ${h.short_id(c.cs_ranges[-1].raw_id)} ${c.pull_request.org_repo.clone_url()} + hg pull ${c.pull_request.org_repo.clone_url()} -r ${h.short_id(c.cs_ranges[-1].raw_id)} %elif h.is_git(c.pull_request.org_repo): - | ${_('Pull changes')} git pull ${c.pull_request.org_repo.clone_url()} ${c.pull_request.org_ref_parts[1]} + git pull ${c.pull_request.org_repo.clone_url()} ${c.pull_request.org_ref_parts[1]} %endif