Bugzilla – Attachment 91655 Details for
Bug 23078
Use Koha.Preference in OPAC global header include
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23078: (follow-up) Update self checkout help page
Bug-23078-follow-up-Update-self-checkout-help-page.patch (text/plain), 3.24 KB, created by
Nick Clemens (kidclamp)
on 2019-07-19 13:41:22 UTC
(
hide
)
Description:
Bug 23078: (follow-up) Update self checkout help page
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-07-19 13:41:22 UTC
Size:
3.24 KB
patch
obsolete
>From 14013e466f75cf10094ef25ec37f072e81e4b891 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 9 Jul 2019 13:51:24 +0000 >Subject: [PATCH] Bug 23078: (follow-up) Update self checkout help page > >This patch takes care of some preference instances I missed in the self >checkout module's help page. It also removes some obsolete lines from >Auth.pm. > >To test, apply the patch and re-test based on the previous test plan. >Also test in the self-checkout module by logging into self checkout and >clicking the "Help" link in the upper right of the screen. > >The settings of the following preferences should be shown correctly: > > - OpacFavicon > - OPACUserCSS > >Signed-off-by: frederik chenier <frederik.chenier@inlibro.com> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/Auth.pm | 2 -- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt | 5 +++-- > 2 files changed, 3 insertions(+), 4 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index ba3c00b5e7..e658c8947c 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -1237,8 +1237,6 @@ sub checkauth { > my $template_name = ( $type eq 'opac' ) ? 'opac-auth.tt' : 'auth.tt'; > my $template = C4::Templates::gettemplate( $template_name, $type, $query ); > $template->param( >- OpacAdditionalStylesheet => C4::Context->preference("OpacAdditionalStylesheet"), >- opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"), > login => 1, > INPUTS => \@inputs, > script_name => get_script_name(), >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >index 185a201aca..013d322033 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt >@@ -1,15 +1,16 @@ > [% USE raw %] >+[% USE Koha %] > [% USE Asset %] > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] › Self checkout help</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats --> >-<link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" /> >+<link rel="shortcut icon" href="[% IF ( Koha.Preference('OpacFavicon') ) %][% Koha.Preference('OpacFavicon') | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" /> > [% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %] > [% Asset.css("lib/jquery/jquery-ui.css") | $raw %] > [% Asset.css("css/sco.css") | $raw %] >-[% IF ( OPACUserCSS ) %]<style>[% OPACUserCSS | $raw %]</style>[% END %] >+[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %] > [% IF ( SCOUserCSS ) %]<style>[% SCOUserCSS | $raw %]</style>[% END %] > <!--[if lt IE 9]> > <script src="[% interface | html %]/[% theme | html %]/lib/respond.min.js"></script> >-- >2.11.0
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 23078
:
90460
|
90481
|
90936
|
91349
|
91430
|
91431
|
91503
|
91626
|
91627
|
91654
| 91655