diff sat_templates/templates/bulma/input/xmlui.html @ 359:16b3a2988afd

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:59:12 +0200
parents 977037f5ac81
children
line wrap: on
line diff
--- a/sat_templates/templates/bulma/input/xmlui.html	Thu Mar 30 17:06:02 2023 +0200
+++ b/sat_templates/templates/bulma/input/xmlui.html	Sat Apr 08 13:59:12 2023 +0200
@@ -88,7 +88,7 @@
         </thead>
         <tbody>
             {% for xmlui in xmlui_items %}
-                {% set link=on_click.formatUrl(item=xmlui.widget_value) if on_click.url else none %}
+                {% set link=on_click.format_url(item=xmlui.widget_value) if on_click.url else none %}
                 <tr {{ {'class': xmlui|xmlui_class(tr_class_fields)}|xmlattr }}>
 
                     {% for name,label in fields %}
@@ -132,7 +132,7 @@
         {% set field_class_map = {} %}
     {% endif %}
     {% for xmlui in xmlui_items %}
-        {% set link=on_click.formatUrl(item=xmlui.widget_value) if on_click.url else none %}
+        {% set link=on_click.format_url(item=xmlui.widget_value) if on_click.url else none %}
             <div class="media x-is-hoverable">
                 <div class="media-content">
                     <a {{ {'class': 'list-item has-text-black ' + xmlui|xmlui_class(item_class_fields),