Bugzilla – Attachment 172487 Details for
Bug 35267
Clarify CSS options for Notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35267: Expose style preferences in template editor
Bug-35267-Expose-style-preferences-in-template-edi.patch (text/plain), 3.57 KB, created by
Martin Renvoize (ashimema)
on 2024-10-07 16:00:32 UTC
(
hide
)
Description:
Bug 35267: Expose style preferences in template editor
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-07 16:00:32 UTC
Size:
3.57 KB
patch
obsolete
>From 0f90fcf64fb3508460c3b3fd9bfc7e7e63ccb827 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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 | 39 +++++++++++++++++++ > 1 file changed, 39 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..c7c37ba47f7 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,45 @@ > </ol> > </fieldset> <!-- /#add_notice --> > >+ <fieldset class="page-section"> >+ <h2>HTML styles</h2> >+ [% 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" %] >+ <pre><code>[%-Koha.Preference('AllNoticeCSS') | html -%]</pre></code> >+ [% IF ( CAN_user_parameters_manage_sysprefs ) %] >+ <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AllNoticeCSS'>Edit</a> >+ [% END %] >+ [% END %] >+ [% END %] >+ [% WRAPPER accordion_item %] >+ [% WRAPPER accordion_heading panel_id="email_notice_css" %] >+ Email Notice CSS >+ [% END %] >+ [% WRAPPER accordion_panel panel_id="email_notice_css" %] >+ <pre><code>[%- Koha.Preference('EmailNoticeCSS') | html -%]</code></pre> >+ [% IF ( CAN_user_parameters_manage_sysprefs ) %] >+ <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EmailNoticeCSS'>Edit</a> >+ [% END %] >+ [% END %] >+ [% END %] >+ [% WRAPPER accordion_item %] >+ [% WRAPPER accordion_heading panel_id="print_notice_css" %] >+ Print Notice CSS >+ [% END %] >+ [% WRAPPER accordion_panel panel_id="print_notice_css" %] >+ <pre><code>[%- Koha.Preference('PrintNoticeCSS') | html -%]</code></pre> >+ [% IF ( CAN_user_parameters_manage_sysprefs ) %] >+ <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PrintNoticeCSS'>Edit</a> >+ [% END %] >+ [% END %] >+ [% END %] >+ [% END %] >+ </fieldset> >+ > [% IF Koha.Preference('TranslateNotices') %] > <div style="clear:both"></div> > [% WRAPPER tabs id= "tabs" %] >-- >2.46.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35267
:
172414
|
172415
|
172416
|
172417
|
172418
|
172457
|
172458
|
172459
|
172460
|
172461
|
172462
|
172463
|
172474
|
172475
|
172476
|
172477
|
172478
|
172479
|
172480
|
172485
|
172486
| 172487 |
172488
|
172489
|
172490
|
172491