Bug 14915: [FA 4.4] (QA followup) Replace fa-hold with fa-sticky-note-o
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 25 Oct 2015 22:01:11 +0000 (23:01 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 27 Oct 2015 13:04:20 +0000 (10:04 -0300)
Ok, this is a fun one: There is no icon like our current hold icon
in Font Awesome. So I picked fa-sticky-note-o for a replacement.

But since this is a new one, it doesn't exist in Koha yet.
I found no better match and the patch was already written...

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt

index e173091..3e604d2 100644 (file)
@@ -248,7 +248,7 @@ CAN_user_serials_create_subscription ) %]
         [% IF ( holdfor ) %]
             <div class="btn-group">
                 <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">
-                    <i class="fa fa-hold"></i>
+                    <i class="fa fa-sticky-note-o"></i>
                     Place hold
                     <span class="caret"></span>
                 </button>
@@ -258,7 +258,7 @@ CAN_user_serials_create_subscription ) %]
                 </ul>
             </div>
         [% ELSE %]
-            <div class="btn-group"><a id="placehold" class="btn btn-small" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]"><i class="fa fa-hold"></i> Place hold</a></div>
+            <div class="btn-group"><a id="placehold" class="btn btn-small" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]"><i class="fa fa-sticky-note-o"></i> Place hold</a></div>
         [% END %]
     [% END %]
 [% END %]
index 62e2ec9..1f79253 100644 (file)
@@ -206,7 +206,7 @@ function placeHold () {
 function forgetPatron(){
     $.removeCookie("holdfor", { path: '/' });
     $(".holdforlink").remove();
-    $("#placeholdc").html("<a class=\"btn btn-mini placehold\" href=\"#\"><i class=\"fa fa-hold\"></i> "+_("Place hold")+"</a>");
+    $("#placeholdc").html("<a class=\"btn btn-mini placehold\" href=\"#\"><i class=\"fa fa-sticky-note-o"\"></i> "+_("Place hold")+"</a>");
 }
 
 function addToList () {
@@ -318,7 +318,7 @@ var holdForPatron = function () {
                 [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %]
                 [% IF ( holdfor ) %]
                     <div id="placeholdc" class="btn-group">
-                        <button class="btn btn-mini placehold"><i class="fa fa-hold"></i> Place hold</button>
+                        <button class="btn btn-mini placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button>
                         <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">
                         <span class="caret"></span>
                         </button>
@@ -330,7 +330,7 @@ var holdForPatron = function () {
                         </ul>
                     </div>
                 [% ELSE %]
-                    <div id="placeholdc" class="btn-group"><a class="btn btn-mini placehold" href="#"><i class="fa fa-hold"></i> Place hold</a></div>
+                    <div id="placeholdc" class="btn-group"><a class="btn btn-mini placehold" href="#"><i class="fa fa-sticky-note-o""></i> Place hold</a></div>
                 [% END %]
                 [% END %]
 
index 169bc28..46cc916 100644 (file)
@@ -376,7 +376,7 @@ function placeHold () {
         <span class="addto">| </span>
         &nbsp;
         [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %]
-            <div class="btn-group"><button class="btn btn-mini placehold"><i class="fa fa-hold"></i> Place hold</button></div>
+            <div class="btn-group"><button class="btn btn-mini placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button></div>
         [% END %]
         [% IF ( allowremovingitems ) %]
             <div class="btn-group"><button type="submit" class="btn btn-mini list-remove"><i class="fa fa-times-circle"></i> Remove selected</button></div>