OPAC 'preferred library' - removed question mark link
authorChris Sharp <csharp@georgialibraries.org>
Tue, 22 Nov 2016 13:56:19 +0000 (08:56 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 31 Oct 2017 19:13:20 +0000 (15:13 -0400)
since it doesn't go to a meaningful page and confuses patrons.

(Terran)

Open-ILS/src/templates/opac/parts/pref_lib_display.tt2

index 192dbb0..08067c9 100644 (file)
@@ -1,7 +1,5 @@
 [%- IF ctx.pref_ou && ctx.pref_ou != ctx.search_ou; %]
-<span class="preflib">[%
-    l('Preferred search location: [_1]', '<span class="bold">' _ ctx.get_aou(ctx.pref_ou).name _ '</span>');
-    IF NOT ctx.is_staff %]<a href="[% mkurl(ctx.opac_root _ '/myopac/prefs_settings')
-    %]" class="preflib_change" title="[% l("Change preferred library"); %]">[% l('?') %]</a>[% END; %]
+<span class="preflib">
+    [% l('Preferred search location: [_1]', '<span class="bold">' _ ctx.get_aou(ctx.pref_ou).name _ '</span>'); %]
 </span>
 [%- END; %]