From 0fe5e0eba574188cbb15873fd897e9b6a5005f69 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 12 Mar 2013 13:36:23 +1100 Subject: [PATCH] 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"); ). --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 6321efd..9666784 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -710,7 +710,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% END %] [% IF ( MARCURLS ) %] -
Online resources: +
Online resources:
    [% FOREACH MARCurl IN MARCURLS %]
  • [% IF ( MARCurl.part ) %][% MARCurl.part %]
    [% END %] -- 1.7.7.4