replace clipboard icon with smaller cart icon in appropriate contexts
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 23 May 2018 21:32:00 +0000 (17:32 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 23 May 2018 21:32:00 +0000 (17:32 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2

index 673ecdb..f7ebef4 100644 (file)
                         [%- IF ctx.user; %]
                         <a href="[% mkurl(ctx.opac_root _ '/myopac/lists') %]" class="no-dec" rel="nofollow" vocab=""><img src="[% ctx.media_prefix %]/images/clipboard.png[% ctx.cache_key %]" alt="[% l('View My Lists') %]" />[% l(' View My Lists') %]</a>
                         [%- ELSE %]
-                        <a href="[% mkurl(ctx.opac_root _ '/mylist') %]" class="no-dec" rel="nofollow" vocab=""><img src="[% ctx.media_prefix %]/images/clipboard.png[% ctx.cache_key %]" alt="[% l('View My Cart') %]" />[% l(' View My Cart') %]</a>
+                        <a href="[% mkurl(ctx.opac_root _ '/mylist') %]" class="no-dec" rel="nofollow" vocab=""><img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="[% l('View My Cart') %]" />[% l(' View My Cart') %]</a>
                         [%- END %]
                     [% END %]
                 </div>
index 269545c..f550157 100644 (file)
@@ -486,13 +486,13 @@ END;
                                                             <a href="[% addhref %]" id="mylist_add_[% rec.id %]"
                                                                 [% IF ctx.mylist.grep(rec.id).size %] class="hidden" [% END %]
                                                                 title="[% l("Add [_1] to cart", attrs.title) %] rel="nofollow" vocab="">
-                                                                <img src="[% ctx.media_prefix %]/images/clipboard.png[% ctx.cache_key %]" alt="" />
+                                                                <img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="" />
                                                                 [% l("Add to cart") %]
                                                             </a>
                                                             <a href="[% delhref %]" id="mylist_delete_[% rec.id %]"
                                                                 [% IF !ctx.mylist.grep(rec.id).size %] class="hidden" [% END %]
                                                                 title="[% l("Remove [_1] from cart", attrs.title) %] rel="nofollow" vocab="">
-                                                                <img src="[% ctx.media_prefix %]/images/clipboard.png[% ctx.cache_key %]" alt="" />
+                                                                <img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="" />
                                                                 [% l("Remove from cart") %]
                                                             </a>
                                                             [% END %]