From d5cbac342c9452c6f186d24fe24432ffbb9e280a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 14 2015 16:13:36 +0000 Subject: Display the number of issues/pull-requests opened on the template --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 406977d..465af04 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -64,7 +64,9 @@ and repo.settings.get('issue_tracker', True) %}
  • Issues + repo=repo.name) }}">Issues ({{ + repo.open_tickets |length if repo_admin else repo.open_tickets_public | length + }})
  • {% endif %} @@ -72,7 +74,7 @@
  • - Pull-requests + Pull-requests ({{repo.open_requests |length }})
  • {% endif %}