From: Jason Boyer Date: Fri, 4 Dec 2020 19:13:48 +0000 (-0500) Subject: LP1895676: Record Print and Email Enhancements for Bootstrap OPAC X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=75bccb437672598f94e764449e4df1cb2a0f6a57;p=evergreen%2Ftadl.git LP1895676: Record Print and Email Enhancements for Bootstrap OPAC Bring the improvements from LP1749475 to the Bootstrap OPAC. Signed-off-by: Jason Boyer Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/anon_list.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/anon_list.tt2 index 3012d2821e..5aa31810f0 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/anon_list.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/anon_list.tt2 @@ -4,6 +4,7 @@

[% l('Basket') %]

+
diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 index 84514133f5..9a97f36fa6 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/cart.tt2 @@ -4,8 +4,8 @@ - - + + [% IF !ctx.is_browser_staff %] [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 index 6ae5c9b68e..8d4d810831 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 @@ -415,9 +415,9 @@ ctx.metalinks.push(' - [% l('Print') %] - [% l('Email') %] [%- IF ctx.refworks.enabled == 'true' %] @@ -564,4 +564,4 @@ ctx.metalinks.push('
[%- INCLUDE "opac/parts/record/extras.tt2" %] -
\ No newline at end of file +
diff --git a/Open-ILS/src/templates-bootstrap/opac/record/email.tt2 b/Open-ILS/src/templates-bootstrap/opac/record/email.tt2 index 70da6d2877..a08b743dc8 100755 --- a/Open-ILS/src/templates-bootstrap/opac/record/email.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/record/email.tt2 @@ -7,14 +7,13 @@
- [% IF ctx.user.email %] - [% ELSE %] + [% IF ctx.user && !ctx.user.email %]