From 8fabee48d508d0338cdb2b0150ac143cde3cd60a Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 24 Oct 2011 15:26:32 -0500 Subject: [PATCH] Bug 7084 - Re-arranging results_summary for tags so that it applies where it is supposed to To test: Verify that New Tag text is the same size as all of the other surrounding text. Verify that it is consistent in size with results that have existing tags. See screenshot for what it looked like before: http://screencast.com/t/hnt15kpS7SH9 Notice that the Add button and New tag text were slightly larger than the similar constructions for results with existing tags. This patch should fix that. Signed-off-by: Magnus Enger I made sure I had a results list with on record with tags and one without. Before applying the patch the "New tag" text and "Add" button were inconsistent for the two records, after applying it they look the same. Nice! --- .../opac-tmpl/prog/en/modules/opac-results.tt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt index b7fbcb3..7201a82 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -480,8 +480,8 @@ $(document).ready(function(){ [% IF ( LibraryThingForLibrariesID ) %]
[% END %] [% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %] [% IF ( TagsShowOnList ) %] +
[% IF ( SEARCH_RESULT.TagLoop.size ) %] -
Tags:
    [% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]
  • [% TagLoo.term %] ([% TagLoo.weight_total %])
  • [% END %] @@ -490,7 +490,7 @@ $(document).ready(function(){ [% IF ( TagsInputOnList ) %] [% IF ( loggedinusername ) %]
    - + New tag:
    -- 1.7.5.4