diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 1ea2c4d..4a25116 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -199,16 +199,35 @@ git push -u origin master
Branches
- {% for branch in branches %} + {% if head %} +
+
+ {% if branchname == head %} + + {{ head }} + {% else %} + + + {{ head }} + + {% endif %} +
+
+ +
+
+ {% endif %} + + {% for branch in branches if branch != head%}
-
- {% if repo_admin and branch == head %} - - {% else %} +
- {% endif %} - {% if not branchname == branch %} + {% if branchname != branch %} @@ -217,6 +236,7 @@ git push -u origin master {% else %} {{ branch }} {% endif %} +
{% if repo_admin and branch != head %}