diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index fa76eb0..007ba42 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -68,6 +68,8 @@ + + {% if config.get('WEBHOOK') %}

Private web-hook key

@@ -95,6 +97,7 @@ {{ form.csrf_token }}

+ {% endif %}

API key

@@ -169,6 +172,7 @@ {% for key in repo.settings | sort %} {% if not config.get('ENABLE_TICKETS', True) and key in ['issue_tracker'] %} {% elif not config.get('DOC_APP_URL') and key in ['project_documentation'] %} + {% elif not config.get('WEBHOOK') and key in ['Web-hooks'] %} {% else %}