[Koha-patches] [PATCH] Bug 8001: improve styling potential of the tag list

Robin Sheat robin at catalyst.net.nz
Tue Apr 24 07:02:11 CEST 2012


This adds the class name "tagterm" to the terms in the list of a user's
tags in the OPAC, allowing them to be seperately styled.
---
 koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt
index e93e00a..86bf41c 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt
@@ -112,7 +112,7 @@
 		<thead><tr><th>Term</th><th>Title</th><th>Date Added</th><th>Delete</th>
 		</tr></thead>
 	<tbody>[% FOREACH MY_TAG IN MY_TAGS %]
-		<tr><td><a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">
+		<tr><td class="tagterm"><a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">
 				[% MY_TAG.term |html %]</a>
 			</td>
 			<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
-- 
1.7.5.4



More information about the Koha-patches mailing list