]> git.agnieray.net Git - galette.git/commitdiff
Fix wrong variable
authorGuillaume AGNIERAY <dev@agnieray.net>
Wed, 8 Feb 2023 19:14:30 +0000 (20:14 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Fri, 17 Feb 2023 09:49:29 +0000 (10:49 +0100)
galette/templates/default/pages/configuration_entitleds.html.twig

index 9bd870a0e9e53f4c69e3f6875d34feb6fe29f89f..8994d568af8e4f171bf3e8a633cee4c1f7868c75 100644 (file)
@@ -14,7 +14,7 @@
         $(function() {
             {% if url_class == "status" %}
                 {% set modaltitle = _T("Edit status")|e("js") %}
-            {% elseif type == "contributions-types" %}
+            {% elseif url_class == "contributions-types" %}
                 {% set modaltitle = _T("Edit contribution type")|e("js") %}
             {% endif %}
             {% include "elements/js/modal_action.js.twig" with {