From 9ec03d1123d595954eaa51a42bb4861d895fd930 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 04 2014 14:52:20 +0000 Subject: If a branch is specified in the repo_info, link to it to create a new pull-request --- diff --git a/progit/templates/repo_info.html b/progit/templates/repo_info.html index 4a6abb6..4acc805 100644 --- a/progit/templates/repo_info.html +++ b/progit/templates/repo_info.html @@ -104,8 +104,14 @@ {% endif %} {% if diff_commits and authenticated %} + {% if branchname %} Request pull + {% else %} + Request pull + {% endif %} {% endif %}