PINES - Remove Novelist rel_3_8_0_remove_novelist
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 21 Jul 2022 16:23:25 +0000 (12:23 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 21 Jul 2022 16:23:25 +0000 (12:23 -0400)
Novelist added contract ends summer of 2022. In addition to updating this
file, be sure to comment out these lines in eg_vhost.conf:

    #SetEnv OILS_NOVELIST_URL
    #SetEnv OILS_NOVELIST_PROFILE
    #SetEnv OILS_NOVELIST_PASSWORD

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates-bootstrap/opac/parts/record/extras.tt2

index 1629d8f..59041e5 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')},
+            {name => 'awards',  label => l('More Information from NoveList'), hide => 1},
             {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 == 'awards' OR name == 'addedcontent';
+                    IF tab_is_active(name) 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 == 'awards' OR name == 'addedcontent'); arrow; END %] [% extra.label | html %]</span>
+                <span>[% IF !(name == 'addedcontent'); arrow; END %] [% extra.label | html %]</span>
                 </a>
             </div>
-            [%  IF tab_is_active(name) OR name == 'awards' OR name == 'addedcontent'; %]
+            [%  IF tab_is_active(name) OR name == 'addedcontent'; %]
             <div class='card-body'>
 
                     [% IF name == 'marchtml';