Mercurial > libervia-templates
diff sat_templates/templates/default/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 | 15db910a957a |
children |
line wrap: on
line diff
--- a/sat_templates/templates/default/input/xmlui.html Thu Mar 30 17:06:02 2023 +0200 +++ b/sat_templates/templates/default/input/xmlui.html Sat Apr 08 13:59:12 2023 +0200 @@ -82,7 +82,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 %} @@ -124,7 +124,7 @@ <ul class="xmlui_list"> {% for xmlui in xmlui_items %} <li> - {% 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 %} <a {{ {'class': xmlui|xmlui_class(item_class_fields), 'href':link}|xmlattr }}> {% for name,label in fields %}