From: Liz Rea Date: Mon, 24 Oct 2011 20:26:32 +0000 (-0500) Subject: Bug 7084 - Re-arranging results_summary for tags so that it applies where it is suppo... X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=1d42be9e7670a3489be681494a8b782c855d52fb 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 --- 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: