[Patches] [PATCH] Bug 7084 - Adding results_summary class to New Tag to correct display inconsistency

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Fri Nov 4 19:53:13 NZDT 2011


From: Liz Rea <lrea at nekls.org>
Date: Mon, 24 Oct 2011 13:23:01 -0500
Subject: [PATCH] Bug 7084 - Adding results_summary class to New Tag to correct display inconsistency
Content-Type: text/plain; charset="utf-8"

To test:
Verify that New Tag text is the same size as all of the other surrounding text.
Verify that it is consistent with results that have 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.
---
 .../opac-tmpl/prog/en/modules/opac-results.tt      |    4 +++-
 1 files changed, 3 insertions(+), 1 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..2ead1a1 100755
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
@@ -489,14 +489,16 @@ $(document).ready(function(){
                                    [% END %]
                                 [% IF ( TagsInputOnList ) %]
                                     [% IF ( loggedinusername ) %]
+				<div class="results_summary">
                                     <form name="tagform[% SEARCH_RESULT.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl">
-                                        <label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag:</label>
+					<span class="label">New tag:</span>
                                         <input name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" />
                                         <input name="tagbutton" class="tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
                                     </form>
                                     <span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;">
                                         Tag status here.
                                     </span>
+				</div>
                                        [% ELSIF ( loop.first ) %]<span class="tagstatus" id="login4tags">Log in to add tags.</span>
                                     [% END %]
                                 [% END %]
-- 
1.7.2.5


More information about the Patches mailing list