From: Terran McCanna Date: Wed, 24 May 2017 18:03:46 +0000 (-0400) Subject: PINES Customization: NoveList Added Content Attempt 2 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=388199957a73bf63aebc88791f118e422e32bbc7;p=evergreen%2Fpines.git PINES Customization: NoveList Added Content Attempt 2 Taking a different approach to displaying the NoveList content upon loading. 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 095c7824dd..b68d3da0ff 100644 --- a/Open-ILS/src/templates/opac/parts/record/extras.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/extras.tt2 @@ -71,32 +71,39 @@
- [% IF tab_is_active(name) OR name == 'awards'; - IF name == 'marchtml'; - ctx.marchtml; - ELSE; - # Load the template for the selected extra - INCLUDE "opac/parts/record/${name}.tt2"; + [% IF !ctx.is_staff AND name == 'awards' AND !CGI.request_uri.match('expand'); + INCLUDE "opac/parts/record/awards.tt2"; + ELSE; + 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; END; END; %]