|
Lines 539-552
Link Here
|
| 539 |
<!-- /#add_notice --> |
539 |
<!-- /#add_notice --> |
| 540 |
|
540 |
|
| 541 |
<fieldset class="page-section"> |
541 |
<fieldset class="page-section"> |
| 542 |
<h2>HTML styles</h2> |
542 |
<h2>Global HTML Notice Styles</h2> |
| 543 |
[% WRAPPER accordion panelgroup_id="notice_styles" %] |
543 |
[% WRAPPER accordion panelgroup_id="notice_styles" %] |
| 544 |
[% WRAPPER accordion_item %] |
544 |
[% WRAPPER accordion_item %] |
| 545 |
[% WRAPPER accordion_heading panel_id="all_notice_css" %] |
545 |
[% WRAPPER accordion_heading panel_id="all_notice_css" %] |
| 546 |
All Notice CSS |
546 |
All Notice CSS |
| 547 |
[% END %] |
547 |
[% END %] |
| 548 |
[% WRAPPER accordion_panel panel_id="all_notice_css" %] |
548 |
[% WRAPPER accordion_panel panel_id="all_notice_css" %] |
| 549 |
<pre><code>[%- Koha.Preference('AllNoticeCSS') | html -%]</code></pre> |
549 |
<p class="alert alert-info">CSS to be applied to all notice types</p> |
|
|
550 |
[%- IF Koha.Preference('AllNoticeCSS') -%] |
| 551 |
<div class="card"> |
| 552 |
<div class="card-body bg-light"> |
| 553 |
<pre class="mb-0"><code class="language-css">[%- Koha.Preference('AllNoticeCSS') | html -%]</code></pre> |
| 554 |
</div> |
| 555 |
</div> |
| 556 |
[%- ELSE -%] |
| 557 |
<p class="alert alert-warning">None defined</p> |
| 558 |
[%- END -%] |
| 550 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
559 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
| 551 |
<a class="syspref-link" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AllNoticeCSS">Edit</a> |
560 |
<a class="syspref-link" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AllNoticeCSS">Edit</a> |
| 552 |
[% END %] |
561 |
[% END %] |
|
Lines 557-563
Link Here
|
| 557 |
Email Notice CSS |
566 |
Email Notice CSS |
| 558 |
[% END %] |
567 |
[% END %] |
| 559 |
[% WRAPPER accordion_panel panel_id="email_notice_css" %] |
568 |
[% WRAPPER accordion_panel panel_id="email_notice_css" %] |
| 560 |
<pre><code>[%- Koha.Preference('EmailNoticeCSS') | html -%]</code></pre> |
569 |
<p class="alert alert-info">CSS to be applied to email notices in addition to that already in "All Notice CSS"</p> |
|
|
570 |
[%- IF Koha.Preference('EmailNoticeCSS') -%] |
| 571 |
<div class="card"> |
| 572 |
<div class="card-body bg-light"> |
| 573 |
<pre><code>[%- Koha.Preference('EmailNoticeCSS') | html -%]</code></pre> |
| 574 |
</div> |
| 575 |
</div> |
| 576 |
[%- ELSE -%] |
| 577 |
<p class="alert alert-warning">None defined</p> |
| 578 |
[%- END -%] |
| 561 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
579 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
| 562 |
<a class="syspref-link" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EmailNoticeCSS">Edit</a> |
580 |
<a class="syspref-link" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EmailNoticeCSS">Edit</a> |
| 563 |
[% END %] |
581 |
[% END %] |
|
Lines 568-574
Link Here
|
| 568 |
Print Notice CSS |
586 |
Print Notice CSS |
| 569 |
[% END %] |
587 |
[% END %] |
| 570 |
[% WRAPPER accordion_panel panel_id="print_notice_css" %] |
588 |
[% WRAPPER accordion_panel panel_id="print_notice_css" %] |
| 571 |
<pre><code>[%- Koha.Preference('PrintNoticeCSS') | html -%]</code></pre> |
589 |
<p class="alert alert-info">CSS to be applied to print notices in addition to that already in "All Notice CSS"</p> |
|
|
590 |
[%- IF Koha.Preference('PrintNoticeCSS') -%] |
| 591 |
<div class="card"> |
| 592 |
<div class="card-body bg-light"> |
| 593 |
<pre><code>[%- Koha.Preference('PrintNoticeCSS') | html -%]</code></pre> |
| 594 |
</div> |
| 595 |
</div> |
| 596 |
[%- ELSE -%] |
| 597 |
<p class="alert alert-warning">None defined</p> |
| 598 |
[%- END -%] |
| 572 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
599 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
| 573 |
<a class="syspref-link" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PrintNoticeCSS">Edit</a> |
600 |
<a class="syspref-link" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PrintNoticeCSS">Edit</a> |
| 574 |
[% END %] |
601 |
[% END %] |
|
Lines 841-847
Link Here
|
| 841 |
<div class="panel-heading" role="tab" id="format_[% lang | html %]Heading"> |
868 |
<div class="panel-heading" role="tab" id="format_[% lang | html %]Heading"> |
| 842 |
<h3 class="panel-title"> |
869 |
<h3 class="panel-title"> |
| 843 |
<a role="button" class="collapsed" data-bs-toggle="collapse" data-parent="#group_[% lang | html %]" href="#format_[% lang | html %]" aria-expanded="false" aria-controls="format_[% lang | html %]"> |
870 |
<a role="button" class="collapsed" data-bs-toggle="collapse" data-parent="#group_[% lang | html %]" href="#format_[% lang | html %]" aria-expanded="false" aria-controls="format_[% lang | html %]"> |
| 844 |
<span>Format</span> |
871 |
<span>Local HTML Notice Styles</span> |
| 845 |
</a> |
872 |
</a> |
| 846 |
</h3> |
873 |
</h3> |
| 847 |
</div> |
874 |
</div> |
| 848 |
- |
|
|