From 60896560d874f4a1dc9b12b8ddc2517edea8f422 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 4 Oct 2024 16:56:53 +0100 Subject: [PATCH] Bug 35267: Expose style preferences in template editor --- .../prog/en/modules/tools/letter.tt | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 1fdc04acf43..537f8b48136 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -503,6 +503,51 @@ +
+

HTML styles

+ [% WRAPPER accordion panelgroup_id="notice_styles" %] + [% WRAPPER accordion_item %] + [% WRAPPER accordion_heading panel_id="all_notice_css" %] + All Notice CSS + [% END %] + [% END %] + [% WRAPPER accordion_panel panel_id="all_notice_css" %] +
+                                    [% Koha.Preference('AllNoticeCSS') | html %]
+                                
+ [% IF ( CAN_user_parameters_manage_sysprefs ) %] + Edit + [% END %] + [% END %] + [% WRAPPER accordion_item %] + [% WRAPPER accordion_heading panel_id="email_notice_css" %] + Email Notice CSS + [% END %] + [% END %] + [% WRAPPER accordion_panel panel_id="email_notice_css" %] +
+                                    [% Koha.Preference('EmailNoticeCSS') | html %]
+                                
+ [% IF ( CAN_user_parameters_manage_sysprefs ) %] + Edit + [% END %] + [% END %] + [% WRAPPER accordion_item %] + [% WRAPPER accordion_heading panel_id="print_notice_css" %] + Print Notice CSS + [% END %] + [% END %] + [% WRAPPER accordion_panel panel_id="print_notice_css" %] +
+                                    [% Koha.Preference('PrintNoticeCSS') | html %]
+                                
+ [% IF ( CAN_user_parameters_manage_sysprefs ) %] + Edit + [% END %] + [% END %] + [% END %] +
+ [% IF Koha.Preference('TranslateNotices') %]
[% WRAPPER tabs id= "tabs" %] -- 2.46.2