diff --git a/pagure/templates/index_auth.html b/pagure/templates/index_auth.html index fbeaa6b..fe7e9c2 100644 --- a/pagure/templates/index_auth.html +++ b/pagure/templates/index_auth.html @@ -49,34 +49,36 @@ {{ repo.name }}
- {% if repo.open_tickets_public == 0 %} - - - {{- repo.open_tickets_public }} - - {% else %} - - - {{- repo.open_tickets_public }} - - {% endif %} + {% if config.get('ENABLE_TICKETS', True) %} + {% if repo.open_tickets_public == 0 %} + + + {{- repo.open_tickets_public }} + + {% else %} + + + {{- repo.open_tickets_public }} + + {% endif %} + {% endif %} {% if repo.open_requests == 0 %} - {{- repo.open_requests}} - + {% else %} - {{- repo.open_requests}} - + {% endif %}