From dfb1f65aab130ad909b2f0c6ef4047aba512f1ca Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 18 2014 12:09:08 +0000 Subject: In the repo info view, move the pagination, fix the title and don't display the tree list on log view --- diff --git a/progit/templates/repo_info.html b/progit/templates/repo_info.html index 5c8fe43..febb034 100644 --- a/progit/templates/repo_info.html +++ b/progit/templates/repo_info.html @@ -9,8 +9,25 @@ {{ repo.split('.git')[0] }} + {% if branchname %} ({{ branchname }}) {% endif %} + +
+

Branches

+ +
+ {% if total_page %} @@ -37,21 +54,12 @@
{% endif %} -
-

Branches

- -
-
+ {% if origin != 'view_log' %}

Last 10 commits

+ {% else %} +

Commits list

+ {% endif %}
-
-

Current tree

- -
+{% if tree %} +
+

Current tree

+ +
+{% endif %} {% endblock %}