From 9f9a07ff061c82958651a959b7be32178ac0c1fd Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 23 May 2017 16:07:27 -0400 Subject: [PATCH] PINES Customization: Fix for NoveList Added Content Display Additional tweak to NoveList added content section to fix problem where if you navigated away from it and then back to it, it did not display. Signed-off-by: Terran McCanna --- Open-ILS/src/templates/opac/parts/record/extras.tt2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/record/extras.tt2 b/Open-ILS/src/templates/opac/parts/record/extras.tt2 index a1ba5e215f..fa063f74af 100644 --- a/Open-ILS/src/templates/opac/parts/record/extras.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/extras.tt2 @@ -92,13 +92,15 @@
- [% IF tab_is_active(name) OR name == 'awards'; + [% IF tab_is_active(name); IF name == 'marchtml'; ctx.marchtml; ELSE; # Load the template for the selected extra INCLUDE "opac/parts/record/${name}.tt2"; END; + ELSIF !ctx.is_staff AND name == 'awards' AND !CGI.request_uri.match('expand'); + INCLUDE "opac/parts/record/awards.tt2"; END; %]
-- 2.11.0