diff --git a/themes/finc/templates/RecordTab/holdingsils.phtml b/themes/finc/templates/RecordTab/holdingsils.phtml index 58677a9f221947c65fe60fc56dcfc1ca36614b08..c7e92db0c1a8e9844d7a275d33b833afe2cc2939 100644 --- a/themes/finc/templates/RecordTab/holdingsils.phtml +++ b/themes/finc/templates/RecordTab/holdingsils.phtml @@ -22,6 +22,8 @@ $this->headTitle($this->translate('Holdings') . ': ' . $this->driver->getBreadcrumb()); ?> +<?$holdingsEmpty=true;?> + <?=$this->context($this)->renderInContext('librarycards/selectcard.phtml', array('user' => $this->auth()->isLoggedIn())); ?> <?=($offlineMode == "ils-offline") ? $this->render('Helpers/ils-offline.phtml') : ''?> @@ -51,6 +53,7 @@ <? if ($openUrlActive): ?><?=$openUrl->renderTemplate()?><? endif; ?> <? endif; ?> <? foreach ($holdings as $holding): ?> + <?$holdingsEmpty=false;?> <h3> <? $locationText = $this->transEsc('location_' . $holding['location'], array(), $holding['location']); ?> <? if (isset($holding['locationhref']) && $holding['locationhref']): ?> @@ -176,6 +179,10 @@ </table> <? endforeach; ?> +<? if ($holdingsEmpty && $this->driver->tryMethod('getLocalOrderInformation') == 'e'): ?> + <h3><?=$this->transEsc("This item has already been ordered and will be available shortly")?></h3> +<? endif; ?> + <? $history = $this->driver->getRealTimeHistory(); ?> <? if (is_array($history) && !empty($history)): ?> <h3><?=$this->transEsc("Most Recent Received Issues")?></h3>