From e4293f93d2949adf88236db42df8b32cdf3df47b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 30 Mar 2026 14:33:38 +0200 Subject: [PATCH] Bug 42290: Tidy all script tags - suggestion In order to tidy all the script tags of the .tt files we isolate the interpolation of Template::Toolkit variables in a separate script tag. This patch focuses on the suggestion module. Trivial changes, the main changes have been done already, we only move them to a separate script tag. Signed-off-by: Paul Derscheid Signed-off-by: Jan Kissig Signed-off-by: Pedro Amorim --- .../prog/en/modules/suggestion/suggestion.tt | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 823ff918d3..f5397c60cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -1207,6 +1207,19 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'select_manager.inc' manager => suggestion.manager %] + [% END %] [% IF op == 'else' %] - [% INCLUDE 'datatables.inc' %]