From b80bbf8deb0cc9fa1deaec1e4bc9bd20f9fd2180 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 08 2018 09:17:10 +0000 Subject: Fix the counter to make the accordion working correctly Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index 51900de..73f9010 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -563,27 +563,28 @@
- {% set idcount = 1 %} + {% for plugin in plugins %} {% if not config.get('ENABLE_TICKETS', True) and plugin in ['Pagure tickets'] %} {% else %}
- - {% set idcount = idcount+1 %} {% endif %} {% endfor %}