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) %}