From e0f27c422515b328d19b2ab1fcaf38b5391386c0 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 3 Apr 2025 15:48:38 +0200 Subject: [PATCH] Bug 35267: (follow-up) Add explanatory note to CSS displays This patch adds a simple explanatory note to each of the Notice CSS display options in the notices template editor page --- .../prog/en/modules/tools/letter.tt | 37 ++++++++++++++++--- 1 file changed, 32 insertions(+), 5 deletions(-) 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 4660b70e192..f41dad127ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -539,14 +539,23 @@
-

HTML styles

+

Global HTML Notice Styles

[% WRAPPER accordion panelgroup_id="notice_styles" %] [% WRAPPER accordion_item %] [% WRAPPER accordion_heading panel_id="all_notice_css" %] All Notice CSS [% END %] [% WRAPPER accordion_panel panel_id="all_notice_css" %] -
[%- Koha.Preference('AllNoticeCSS') | html -%]
+

CSS to be applied to all notice types

+ [%- IF Koha.Preference('AllNoticeCSS') -%] +
+
+
[%- Koha.Preference('AllNoticeCSS') | html -%]
+
+
+ [%- ELSE -%] +

None defined

+ [%- END -%] [% IF ( CAN_user_parameters_manage_sysprefs ) %] Edit [% END %] @@ -557,7 +566,16 @@ Email Notice CSS [% END %] [% WRAPPER accordion_panel panel_id="email_notice_css" %] -
[%- Koha.Preference('EmailNoticeCSS') | html -%]
+

CSS to be applied to email notices in addition to that already in "All Notice CSS"

+ [%- IF Koha.Preference('EmailNoticeCSS') -%] +
+
+
[%- Koha.Preference('EmailNoticeCSS') | html -%]
+
+
+ [%- ELSE -%] +

None defined

+ [%- END -%] [% IF ( CAN_user_parameters_manage_sysprefs ) %] Edit [% END %] @@ -568,7 +586,16 @@ Print Notice CSS [% END %] [% WRAPPER accordion_panel panel_id="print_notice_css" %] -
[%- Koha.Preference('PrintNoticeCSS') | html -%]
+

CSS to be applied to print notices in addition to that already in "All Notice CSS"

+ [%- IF Koha.Preference('PrintNoticeCSS') -%] +
+
+
[%- Koha.Preference('PrintNoticeCSS') | html -%]
+
+
+ [%- ELSE -%] +

None defined

+ [%- END -%] [% IF ( CAN_user_parameters_manage_sysprefs ) %] Edit [% END %] @@ -841,7 +868,7 @@ -- 2.49.0