Bugzilla – Attachment 161423 Details for
Bug 35530
Can't tell if UserCSS and UserJS in libraries are for staff interface or OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35530: Tell UserCSS and UserJS in libraries administration are for OPAC
Bug-35530-Tell-UserCSS-and-UserJS-in-libraries-adm.patch (text/plain), 2.39 KB, created by
Martin Renvoize (ashimema)
on 2024-01-25 14:49:14 UTC
(
hide
)
Description:
Bug 35530: Tell UserCSS and UserJS in libraries administration are for OPAC
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-01-25 14:49:14 UTC
Size:
2.39 KB
patch
obsolete
>From a64f075f3793539f5cdbfe5a51182312e6ce4689 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 8 Jan 2024 14:22:29 +0100 >Subject: [PATCH] Bug 35530: Tell UserCSS and UserJS in libraries > administration are for OPAC > >In libraries administration new fields UserCSS and UserJS are for OPAC, >this should be in label. > >This patch uses text "Specific OPAC CSS", since the system preference OPACUserCSS as help : >Library specific CSS can be defined in ... > >Test plan >1) Go to Administration > Libraries >2) Modify a library >3) Check you see new labels > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 16ccfaa9687..7be2b1bbcf4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -289,7 +289,7 @@ > <div class="hint">Set to 'yes' to show this library as a search option and on the libraries page in the OPAC.</div> > </li> > <li> >- <label for="UserJS">UserJS: </label> >+ <label for="opacuserjs">Specific OPAC JS: </label> > <div style="display:flex; flex-direction:column;"> > <a class="expand-textarea" id="expand_opacuserjs" data-target="opacuserjs" data-syntax="javascript" href="#">Edit</a> > <textarea style="display:none" name="opacuserjs" id="opacuserjs" class="codemirror" rows="10" cols="40">[% library.opacuserjs | html %]</textarea> >@@ -297,7 +297,7 @@ > </div> > </li> > <li> >- <label for="UserCSS">UserCSS: </label> >+ <label for="opacusercss">Specific OPAC CSS: </label> > <div style="display:flex; flex-direction:column;"> > <a class="expand-textarea" id="expand_opacusercss" data-target="opacusercss" data-syntax="css" href="#">Edit</a> > <textarea style="display:none" name="opacusercss" id="opacusercss" class="" rows="10" cols="40">[% library.opacusercss | html %]</textarea> >-- >2.43.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 35530
:
160626
|
160666
| 161423