diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html
index b692284..c98ec26 100644
--- a/pagure/templates/repo_master.html
+++ b/pagure/templates/repo_master.html
@@ -48,6 +48,12 @@
username=username, repo=repo.name, identifier=branch) }}">
{{ branch }}
+ {% elif origin == 'view_file' %}
+
+ {{ branch }}
+
{% endif %}
{% endfor %}