Bug 38414: [24.11.x] (follow-up) Fix template syntax

This commit is contained in:
Baptiste Wojtkowski 2026-05-29 12:41:59 +00:00
parent a1f7766ac9
commit 76e3b6ec92
No known key found for this signature in database
GPG Key ID: 47A8A13E10BC0D40
1 changed files with 1 additions and 10 deletions

View File

@ -381,16 +381,7 @@
<ul class="dropdown-menu" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
<li><a class="dropdown-item" href="/cgi-bin/koha/reports/guided_reports.pl?id=[% savedreport.id | uri %]&amp;op=show"><i class="fa fa-search" aria-hidden="true"></i> View</a></li>
<li>
<a
[% # tags below to remove extra whitespace added for readability %]
[%- " "|$raw -%]href="/cgi-bin/koha/reports/guided_reports.pl?id=[% savedreport.id | uri %]&op=show"
[%- " "|$raw -%]class="dropdown-item preview_sql"
[%- " "|$raw -%]data-reportid="[% savedreport.id | html %]"
[%- " "|$raw -%]data-create="[% CAN_user_reports_create_reports || 0 | html %]"
[%- " "|$raw -%]data-delete="[% CAN_user_reports_delete_reports || 0 | html %]"
[%- " "|$raw -%]data-run="[% CAN_user_reports_execute_reports || 0 | html %]"
[%- ""|$raw -%]
>
<a href="/cgi-bin/koha/reports/guided_reports.pl?id=[% savedreport.id | uri %]&op=show" class="dropdown-item preview_sql" data-reportid="[% savedreport.id | html %]" data-create="[% CAN_user_reports_create_reports || 0 | html %]" data-delete="[% CAN_user_reports_delete_reports || 0 | html %]" data-run="[% CAN_user_reports_execute_reports || 0 | html %]">
<i class="fa-solid fa-eye" aria-hidden="true"></i> Preview SQL
</a>
</li>