diff --git a/progit/templates/repo_info.html b/progit/templates/repo_info.html
index 33151c9..7e1624c 100644
--- a/progit/templates/repo_info.html
+++ b/progit/templates/repo_info.html
@@ -95,6 +95,32 @@
{% endif %}
+ {% if tree %}
+
+ {% endif %}
+
{% if origin == 'view_log' or origin == 'view_fork_log' %}
Commits list
@@ -132,31 +158,9 @@
- {% if tree %}
-
- {% endif %}
+
{% endif %}