LP#1268636 facets get more specific more/less titles
authorBill Erickson <berick@esilibrary.com>
Fri, 20 Dec 2013 16:07:01 +0000 (11:07 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 11 Feb 2014 14:24:05 +0000 (09:24 -0500)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/result/facets.tt2

index 12d6597..5f0e030 100644 (file)
@@ -67,9 +67,16 @@ FOR facet IN sorted_facets;
                         expand_url  = mkurl('', {}, ['long_facet']);
                     END;
                 %]
-                    <a class="button" href="[% expand_url %]">[% l("Fewer") %]</a>
+                    <a class="button" href="[% expand_url %]"
+                      title="[% l('Show Fewer [_1] Entries', facet.cmf.label) %]">
+                      [% l("Fewer") %]
+                    </a>
                 [% ELSIF facet.data.size > DEFAULT_DISPLAY_COUNT %]
-                    <a class="button" href="[% mkurl('', {long_facet => long_facets.merge([long_key])}) %]">[% l("More") %]</a>
+                    <a class="button" 
+                      title="[% l('Show More [_1] Entries', facet.cmf.label) %]"
+                      href="[% mkurl('', {long_facet => long_facets.merge([long_key])}) %]">
+                      [% l("More") %]
+                    </a>
                 [% END %]
             <div class="title">[% facet.cmf.label %]</div>
         </div>