Skip to content
Snippets Groups Projects
Commit c9d260e8 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Show saved lists when there isn't a description. Bootstrap.

parent 372140d6
No related merge requests found
...@@ -29,17 +29,17 @@ ...@@ -29,17 +29,17 @@
<? $summary = $this->driver->getSummary(); $summary = isset($summary[0]) ? $summary[0] : false; ?> <? $summary = $this->driver->getSummary(); $summary = isset($summary[0]) ? $summary[0] : false; ?>
<? if ($summary): ?> <? if ($summary): ?>
<p><?=$this->truncate($summary, 300)?></p> <p><?=$this->truncate($summary, 300)?></p>
<? /* Display the lists that this record is saved to */ ?>
<div class="savedLists hide alert alert-info" id="savedLists">
<strong><?=$this->transEsc("Saved in")?>:</strong>
</div>
<? if(strlen($summary) > 300): ?> <? if(strlen($summary) > 300): ?>
<p><a href='<?=$this->recordLink()->getTabUrl($this->driver, 'Description')?>#tabnav'><?=$this->transEsc('Full description')?></a></p> <p><a href='<?=$this->recordLink()->getTabUrl($this->driver, 'Description')?>#tabnav'><?=$this->transEsc('Full description')?></a></p>
<? endif; ?> <? endif; ?>
<? endif; ?> <? endif; ?>
<? /* Display the lists that this record is saved to */ ?>
<div class="savedLists hide alert alert-info" id="savedLists">
<strong><?=$this->transEsc("Saved in")?>:</strong>
</div>
<?/* Display Main Details */?> <?/* Display Main Details */?>
<table class="table table-striped" summary="<?=$this->transEsc('Bibliographic Details')?>"> <table class="table table-striped" summary="<?=$this->transEsc('Bibliographic Details')?>">
<? $journalTitle = $this->driver->getContainerTitle(); if (!empty($journalTitle)): ?> <? $journalTitle = $this->driver->getContainerTitle(); if (!empty($journalTitle)): ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment