From f67b30e318cb494fb07e80c96fcb5e756b18c96b 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! Signed-off-by: Paul Poulain (cherry picked from commit 1d42be9e7670a3489be681494a8b782c855d52fb) Signed-off-by: Chris Nighswonger --- koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 4 ++-- 1 file 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 b7fbcb34da..7201a829d2 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:
    -- 2.39.5