Expand main added content expandy, remove awards
authorJeff Godin <jgodin@tadl.org>
Thu, 26 Jul 2012 08:49:10 +0000 (04:49 -0400)
committerJeff Godin <jgodin@tadl.org>
Thu, 26 Jul 2012 08:49:10 +0000 (04:49 -0400)
- Expand main added content tab/expandy by default
- Remove "awards" expandy

Signed-off-by: Jeff Godin <jgodin@tadl.org>
templates_tadlskin/opac/parts/record/extras.tt2

index 422be4f..1f40f03 100644 (file)
@@ -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 &amp; 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},