From ed8be1910e9a202e3d69aab78bc48356be382c07 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 29 2016 10:11:52 +0000 Subject: Do not show the new issue button when issues are off --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 0019014..015dc65 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -19,8 +19,11 @@ {% if authenticated %}
- New Issue + {% if repo.settings.get('issue_tracker', True) + and config.get('ENABLE_TICKETS', True)%} + New Issue + {% endif %}
{% if not repo.is_fork %}