[Bug 9798] New: Add html id to the Online Resources label of the OPAC detail page
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9798 Bug ID: 9798 Summary: Add html id to the Online Resources label of the OPAC detail page Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: dcook@prosentient.com.au 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9798 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|oleonard@myacpl.org |dcook@prosentient.com.au --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Created attachment 16057 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16057&action=edit 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"); ). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9798 --- Comment #2 from Galen Charlton <gmcharlt@gmail.com> --- Comment on attachment 16057 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16057 Bug 9798 - Add html id to the Online Resources label of the OPAC detail page Review of attachment 16057: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=9798&attachment=16057) ----------------------------------------------------------------- ::: 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9798 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |In Discussion CC| |gmcharlt@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9798 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED CC| |nengard@gmail.com Resolution|--- |FIXED --- Comment #3 from Nicole C. Engard <nengard@gmail.com> --- This seems to be done in master already. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org