Bug 35529: Avoid 'click' in link in library administration
It's not necessary to label a link with 'click', it being a link and being formatted as such is enough. To test: * Go to administration > libraries * Edit any library * Verify link texts for UserCSS and UserJS * Click to edit * Click to collapse * Apply patch, restart all * Verify links have been updated, click removed Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
7375d82c40
commit
fe0e638b29
1 changed files with 4 additions and 4 deletions
|
@ -291,17 +291,17 @@
|
|||
<li>
|
||||
<label for="UserJS">UserJS: </label>
|
||||
<div style="display:flex; flex-direction:column;">
|
||||
<a class="expand-textarea" id="expand_opacuserjs" data-target="opacuserjs" data-syntax="javascript" href="#">Click to 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>
|
||||
<a class="collapse-textarea" id="collapse_opacuserjs" data-target="opacuserjs" data-syntax="javascript" style="display:none" href="#">Click to collapse</br></a>
|
||||
<a class="collapse-textarea" id="collapse_opacuserjs" data-target="opacuserjs" data-syntax="javascript" style="display:none" href="#">Collapse</br></a>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="UserCSS">UserCSS: </label>
|
||||
<div style="display:flex; flex-direction:column;">
|
||||
<a class="expand-textarea" id="expand_opacusercss" data-target="opacusercss" data-syntax="css" href="#">Click to 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>
|
||||
<a class="collapse-textarea" id="collapse_opacusercss" data-target="opacusercss" data-syntax="css" style="display:none" href="#">Click to collapse</br></a>
|
||||
<a class="collapse-textarea" id="collapse_opacusercss" data-target="opacusercss" data-syntax="css" style="display:none" href="#">Collapse</br></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue