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> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
602521a80a
commit
28510d473f
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
<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>
|
||||||
<li>
|
<li>
|
||||||
<label for="UserJS">UserJS: </label>
|
<label for="opacuserjs">Specific OPAC JS: </label>
|
||||||
<div style="display:flex; flex-direction:column;">
|
<div style="display:flex; flex-direction:column;">
|
||||||
<a class="expand-textarea" id="expand_opacuserjs" data-target="opacuserjs" data-syntax="javascript" href="#">Edit</a>
|
<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>
|
<textarea style="display:none" name="opacuserjs" id="opacuserjs" class="codemirror" rows="10" cols="40">[% library.opacuserjs | html %]</textarea>
|
||||||
|
@ -297,7 +297,7 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="UserCSS">UserCSS: </label>
|
<label for="opacusercss">Specific OPAC CSS: </label>
|
||||||
<div style="display:flex; flex-direction:column;">
|
<div style="display:flex; flex-direction:column;">
|
||||||
<a class="expand-textarea" id="expand_opacusercss" data-target="opacusercss" data-syntax="css" href="#">Edit</a>
|
<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>
|
<textarea style="display:none" name="opacusercss" id="opacusercss" class="" rows="10" cols="40">[% library.opacusercss | html %]</textarea>
|
||||||
|
|
Loading…
Reference in a new issue