Skip to content

Commit

Permalink
Add async linked resources to item set show
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsafley committed Apr 8, 2024
1 parent 50a0a9e commit d6f4add
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions application/view/omeka/admin/item-set/show.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,12 @@ $sectionNavs = [

<div id="resources-linked" class="section">
<?php if ($itemSet->subjectValueTotalCount()): ?>
<p><?php echo $translate('The following resources link to this item set:'); ?></p>
<?php echo $itemSet->displaySubjectValues([
'page' => $this->params()->fromQuery('page', 1),
'perPage' => 25,
'resourceProperty' => $this->params()->fromQuery('resource_property'),
]); ?>
<?php echo $this->linkedResources($itemSet); ?>
<?php else: ?>
<div class="no-resources">
<p><?php echo $translate('No resources link to this item set.'); ?></p>
</div>
<?php endif; ?>
</div>
<div class="no-resources">
<p><?php echo $translate('No resources link to this item set.'); ?></p>
</div>
<?php endif; ?>

<div class="active sidebar">
<div class="meta-group">
Expand Down

0 comments on commit d6f4add

Please sign in to comment.