Revert "PINES - Remove Novelist"
authorChris Sharp <csharp@georgialibraries.org>
Wed, 7 Sep 2022 15:09:25 +0000 (11:09 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 7 Sep 2022 15:09:25 +0000 (11:09 -0400)
This reverts commit 1ff00b5bc345f04a60691629d148013899cf3736.

Open-ILS/src/templates-bootstrap/opac/parts/record/extras.tt2

index 59041e5..1629d8f 100755 (executable)
@@ -58,7 +58,7 @@
             {name => 'issues',   label => l('Issues Held'), hide => !(ctx.have_holdings_to_show || ctx.have_mfhd_to_show)},
             {name => 'preview',  label => l('Preview'), hide => 1},
             {name => 'addedcontent',  label => l('More Information from Syndetics')},
-            {name => 'awards',  label => l('More Information from NoveList'), hide => 1},
+            {name => 'awards',  label => l('More Information from NoveList')},
             {name => 'cnbrowse', label => l('Shelf Browser')},
             {name => 'marchtml', label => l('MARC Record')}
         ];
@@ -69,7 +69,7 @@
         %]
         <div class="card border-secondary col-12 p-0">
          [%
-                    IF tab_is_active(name) OR name == 'addedcontent';
+                    IF tab_is_active(name) OR name == 'awards' OR name == 'addedcontent';
                         href = mkurl('', {}, ['expand', 'ac']);
                         arrow = arrow_down;
                     ELSE;
             <a id='[% name %]' href='[% href %]' class="text-white" rel="nofollow" vocab="" style="text-decoration:none;">
            <div class="card-header extra_header">
 
-                <span>[% IF !(name == 'addedcontent'); arrow; END %] [% extra.label | html %]</span>
+                <span>[% IF !(name == 'awards' OR name == 'addedcontent'); arrow; END %] [% extra.label | html %]</span>
                 </a>
             </div>
-            [%  IF tab_is_active(name) OR name == 'addedcontent'; %]
+            [%  IF tab_is_active(name) OR name == 'awards' OR name == 'addedcontent'; %]
             <div class='card-body'>
 
                     [% IF name == 'marchtml';