Skip to content
Snippets Groups Projects
Commit 95b3d179 authored by Demian Katz's avatar Demian Katz
Browse files

Merge branch 'release-4.1'

parents 91447775 60d63f71
No related merge requests found
<? $holdings = $this->tab->getHoldings(); if ($holdings && count($holdings) > 0): ?> <? $holdings = $this->tab->getHoldings(); ?>
<h3><?=$this->transEsc('Holdings at Other Libraries')?></h3> <? if (isset($holdings->diagnostic->message)): ?>
<table class="table table-striped"> <p><?=$this->escapeHtml($holdings->diagnostic->message)?></p>
<? foreach ($holdings as $holding): ?> <? elseif ($holdings && count($holdings) > 0): ?>
<tr> <h3><?=$this->transEsc('Holdings at Other Libraries')?></h3>
<th colspan="2"> <table class="table table-striped">
<? if (isset($holding->electronicAddress->text) && !empty($holding->electronicAddress->text)): ?> <? foreach ($holdings as $holding): ?>
<a href="<?=$this->escapeHtmlAttr($holding->electronicAddress->text)?>"><?=$this->escapeHtml($holding->physicalLocation)?></a> <tr>
<? else: ?> <th colspan="2">
<?=$this->escapeHtml($holding->physicalLocation)?> <? if (isset($holding->electronicAddress->text) && !empty($holding->electronicAddress->text)): ?>
<a href="<?=$this->escapeHtmlAttr($holding->electronicAddress->text)?>"><?=$this->escapeHtml($holding->physicalLocation)?></a>
<? else: ?>
<?=$this->escapeHtml($holding->physicalLocation)?>
<? endif; ?>
</th>
</tr>
<? if (!empty($holding->physicalAddress->text)): ?>
<tr>
<th><?=$this->transEsc('Address')?>: </th>
<td><?=$this->escapeHtml($holding->physicalAddress->text)?></td>
</tr>
<? endif; ?> <? endif; ?>
</th> <? if (isset($holding->holdingSimple->copiesSummary->copiesCount)): ?>
</tr> <tr>
<tr> <th><?=$this->transEsc('Copies')?>: </th>
<th><?=$this->transEsc('Address')?>: </th> <td><?=$this->escapeHtml($holding->holdingSimple->copiesSummary->copiesCount)?></td>
<td><?=$this->escapeHtml($holding->physicalAddress->text)?></td> </tr>
</tr> <? endif; ?>
<tr> <? endforeach; ?>
<th><?=$this->transEsc('Copies')?>: </th> </table>
<td><?=$this->escapeHtml($holding->holdingSimple->copiesSummary->copiesCount)?></td>
</tr>
<? endforeach; ?>
</table>
<? endif; ?> <? endif; ?>
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