From 3c0f86dc67e23a73c36f0f58ce4c33c34227d2f3 Mon Sep 17 00:00:00 2001 From: Vivek Anand Date: Feb 09 2017 09:03:18 +0000 Subject: Don't repeat lines when it can be avoided in settings.html Signed-off-by: Vivek Anand --- diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index e8cf026..c7dc777 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -269,28 +269,18 @@ Public notifications
- {% if config.get('ENABLE_TICKETS', True) %}

The email addresses entered below will receive all the notifications - related to (public) issue and pull-requests, this includes - notifications about new issue or pull-request, new comment + related to {% if config.get('ENABLE_TICKETS', True) %} + (public) issue and {% endif %}pull-requests, this includes + notifications about {% if config.get('ENABLE_TICKETS', True) %} + new issue or {% endif %} new pull-request, new comment and status change.

To enter multiple addresses, simply delimit then with a comma.

- {% else %}
-

- The email addresses entered below will receive all the notifications - related to and pull-requests, this includes - notifications about new pull-request, new comment - and status change. -

-

- To enter multiple addresses, simply delimit then with a comma. -

- {% endif %}