From 4d5699960a0c87b284e70aa1f6f9647da76181da Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jun 01 2016 10:40:33 +0000 Subject: Fix the no readme box showing on empty repos We recently added the a box on a projects info page to show if there was no readme in a non-empty repo. However, this was showing up on emtpy repos too, in addtion to the box saying the repo has not been inited. This update removes the noreadme box from showing on empty repos. --- diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 2c3a72b..47d677e 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -26,7 +26,7 @@ git push -u origin master {% endif %} - {% endif %} + {% else %}
{% if readme %}
@@ -46,7 +46,7 @@ git push -u origin master
{% endif %}
- + {% endif %}