From 3e11c0adbaa9857f377cd72e540b5fbefe3fb37b Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Thu, 26 Jul 2012 04:49:10 -0400 Subject: [PATCH] Expand main added content expandy, remove awards - Expand main added content tab/expandy by default - Remove "awards" expandy Signed-off-by: Jeff Godin --- templates_tadlskin/opac/parts/record/extras.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates_tadlskin/opac/parts/record/extras.tt2 b/templates_tadlskin/opac/parts/record/extras.tt2 index 422be4fde4..1f40f036ff 100644 --- a/templates_tadlskin/opac/parts/record/extras.tt2 +++ b/templates_tadlskin/opac/parts/record/extras.tt2 @@ -4,6 +4,7 @@ [% # Hidden extras are not yet implemented. Some may require JS MACRO tab_is_active(tab) BLOCK; + IF tab == 'addedcontent'; 1; END; exp_name = 'expand_' _ tab; IF ctx.$exp_name OR ctx.expand_all; 1; END; END; @@ -38,7 +39,6 @@ {name => 'summaryplus', label => l('Summaries & More'), hide => hide_summary}, {name => 'contents', label => l('Contents'), hide => !attrs.contents}, {name => 'annotation', label => l('Annotation'), hide => 1}, - {name => 'awards', label => l('Awards, Reviews, & Suggested Reads')}, {name => 'excerpt', label => l('Excerpt'), hide => 1}, {name => 'issues', label => l('Issues Held'), hide => !(ctx.have_holdings_to_show || ctx.have_mfhd_to_show)}, {name => 'preview', label => l('Preview'), hide => 1}, -- 2.11.0