We propose adding an id (onlineresources) to the Online Resources span on the OPAC detail page. I think the idea is to make the label easier to target with CSS and JScript.
Created attachment 16057 [details] [review] Bug 9798 - Add html id to the Online Resources label of the OPAC detail page This patch adds an id (onlineresources) to the Online Resources span on the OPAC detail page. I think the idea is to make the label easier to target with CSS and JScript. -- To Test: Apply the patch Create some code referencing the onlineresources id using the system preferences "intranetuserjs" or "intranetusercss". (e.g. #onlineresources {display:none;} or $("#onlineresources").text("Electronic Resources"); ).
Comment on attachment 16057 [details] [review] Bug 9798 - Add html id to the Online Resources label of the OPAC detail page Review of attachment 16057 [details] [review]: ----------------------------------------------------------------- ::: koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ +710,4 @@ > </span>[% END %] > > [% IF ( MARCURLS ) %] > + <div class="results_summary"><span class="label" id="onlineresources">Online resources:</span> I suggest changing this to a CSS class called online_resources in the div, e.g., <div class="results_summary online_resources"> That way, it would be consistent with how the XSLT bib details display mode works.
This seems to be done in master already.