From 8a8fd3edb287d1e1eb31579c809274508c18c168 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 21 2016 08:51:38 +0000 Subject: Check if there are last_commits instead of checking the repo_obj --- diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 5e01739..91c174e 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -101,7 +101,7 @@ git push -u origin master - {%endif%} + {% endif %}
{% for commit in last_commits %} @@ -286,7 +286,7 @@ git push -u origin master
- {% if repo_obj and not repo_obj.is_empty %} + {% if last_commits %}
Recent Commits in {{branchname}}