diff --git a/themes/finc/scss/default.scss b/themes/finc/scss/default.scss index 0663ae5984f31a7b84cbea7e578e393c307d0754..e9d557ae0261ad4c3b18aa2030a473e9017d9221 100644 --- a/themes/finc/scss/default.scss +++ b/themes/finc/scss/default.scss @@ -52,7 +52,7 @@ } // Holdings // Insert line break before Vormerken buttons -#holdings-tab { +.holdings-tab { line-height: 1.75rem; td { vertical-align: top; diff --git a/themes/finc/templates/RecordTab/holdingsils.phtml b/themes/finc/templates/RecordTab/holdingsils.phtml index f2356f96c319a5766ce3ba1d26d6b2dc864e778b..2fbb8267d4a842b750cffc23781d6beaee33a49d 100644 --- a/themes/finc/templates/RecordTab/holdingsils.phtml +++ b/themes/finc/templates/RecordTab/holdingsils.phtml @@ -75,7 +75,7 @@ <span class="label success"><?=$this->transEsc("Available")?><link property="availability" href="http://schema.org/InStock" /></span> <? else: ?> <? /* Begin Unavailable Items (Recalls) */ ?> - <span class="label alert"><?=$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span> + <span class="label alert"><?=empty($row['status'])?$this->transEsc("Unavailable"):$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span> <? endif; ?> </td> <td> @@ -113,7 +113,7 @@ <? endif; ?> <? else: ?> <? /* Begin Unavailable Items (Recalls) */ ?> - <span class="label alert"><?=$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span> + <span class="label alert"><?=empty($row['status'])?$this->transEsc("Unavailable"):$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span> <? if (isset($row['returnDate']) && $row['returnDate']): ?>– <span class="small"><?=$this->escapeHtml($row['returnDate'])?></span><? endif; ?> <? if (isset($row['duedate']) && $row['duedate']): ?> – <span class="small"><?=$this->transEsc("Due")?>: <?=$this->escapeHtml($row['duedate'])?></span> diff --git a/themes/finc/templates/record/view.phtml b/themes/finc/templates/record/view.phtml index 13e1d1a98ca0541ace1c7eb1fcac3822a9227d7b..e631a70fe9e35b839b107c5f08aac53f23e9bfc5 100644 --- a/themes/finc/templates/record/view.phtml +++ b/themes/finc/templates/record/view.phtml @@ -81,7 +81,7 @@ <div class="tabs-content" id="record-tabs"> <? if (!$this->ajaxTabs || !isset($activeTabObj) || !$activeTabObj->supportsAjax()): ?> - <div class="content active" id="<?=$this->activeTab?>-tab"> + <div class="content active <?=$this->activeTab?>-tab"> <?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : ''?> </div> <? endif; ?> diff --git a/themes/foundation5/templates/record/view.phtml b/themes/foundation5/templates/record/view.phtml index db711cfe888075ecb686866e8627c6865547e171..41dbd12e18357ebfba5dec9cb27b5883ff34afa3 100644 --- a/themes/foundation5/templates/record/view.phtml +++ b/themes/foundation5/templates/record/view.phtml @@ -81,7 +81,7 @@ $this->layout()->title = $this->driver->getShortTitle(); <div class="tabs-content" id="record-tabs"> <? if (!$this->ajaxTabs || !isset($activeTabObj) || !$activeTabObj->supportsAjax()): ?> - <div class="content active" id="<?=$this->activeTab?>-tab"> + <div class="content active <?=$this->activeTab?>-tab"> <?=isset($activeTabObj) ? $this->record($this->driver)->getTab($activeTabObj) : ''?> </div> <? endif; ?>