From 059bb30abf0b0722fbeb4fdc290d6cf6d63e1d1f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 12 2016 11:01:57 +0000 Subject: Adjust the spacing around the status of the PRs shown --- diff --git a/pagure/templates/requests.html b/pagure/templates/requests.html index 12e0c02..d1ccc3b 100644 --- a/pagure/templates/requests.html +++ b/pagure/templates/requests.html @@ -11,12 +11,12 @@

- {{ requests|count }} {% + {{ requests|count }} {%- if status and status|lower != 'open' and status|lower != 'false' - %} {{ status }} {% - elif status and status|lower != 'open' - %} Closed/Merged {% endif -%} - Pull Requests (on {{ requests_cnt }}) + %} {{ status }} {%- + elif status|lower in ['closed', 'false'] + %} Closed/Merged {%- endif + %} Pull Requests (on {{ requests_cnt }}) {% if authenticated and repo.settings.get('pull_requests', True) %}