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 %}