Skip to content

Commit

Permalink
#20244 and #19474
Browse files Browse the repository at this point in the history
  • Loading branch information
nczirjak-acdh committed Mar 22, 2022
1 parent db65db4 commit 76eb4b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/RecordTab/holdingsils.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<?=(($warnConf['holdingsils'] ?? false) == true) ? '<br />'.$this->render('Helpers/warning.phtml', ['heading' => 'holdingsils_warning_heading', 'text' => 'holdingsils_warning_text']) : ''?>

<?php // Show URLs ?>
<!-- redmine: #20244
<?php if (!empty($urls) || $openUrlActive || $doiActive): ?>
<div class='holdings urls'>
<h3><?=$this->transEsc("Internet")?></h3>
Expand All @@ -86,7 +87,7 @@
</div>
</div>
<?php endif; ?>

-->
<?php // Show electronic holdings ?>
<?php if (!empty($holdings['electronic_holdings'])): ?>
<?=$this->context($this)->renderInContext(
Expand Down Expand Up @@ -454,7 +455,7 @@
<?php // No holdings available?>
<div class='holdings noHoldings'>
<?php // AK: Check if there are no holdings (or URLs - uncomment below) ?>
<?php if (empty($holdings['holdings']) /*&& empty($urls)*/ && empty($holdings['summarizedHoldings'])): ?>
<?php if (empty($holdings['holdings']) && empty($holdings['electronic_holdings']) /*&& empty($urls)*/ && empty($holdings['summarizedHoldings'])): ?>
<?php // AK: If we have parent records, show a note and a link to a parent (if possible) ?>
<h3><?=$this->transEsc("holdingNote")?></h3>
<div class="padding-online-content">
Expand Down

0 comments on commit 76eb4b0

Please sign in to comment.