From: Terran McCanna Date: Tue, 23 May 2017 20:07:27 +0000 (-0400) Subject: PINES Customization: Fix for NoveList Added Content Display X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9f9a07ff061c82958651a959b7be32178ac0c1fd;p=evergreen%2Fpines.git 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 --- 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; %]