adds item and media pages back_button

This commit is contained in:
buttle 2021-05-24 18:54:53 +02:00
parent 1feb21e597
commit e84517776d
3 changed files with 8 additions and 2 deletions

View File

@ -93,6 +93,9 @@ $("#archive_page_title").html('<?= $site->title(); ?>');
<?php endif; ?>
<?php $this->trigger('view.show.after'); ?>
<button onclick="window.history.back()">
<h3 class="label">Back</h3>
</button>
</div>
</div>

View File

@ -31,9 +31,13 @@ $("#archive_page_title").html('<?= $site->title(); ?>');
<div class="resource-title">
<?php echo $this->pageTitle($media->displayTitle(), 2); ?>
<!-- <h3 class="label"><?php echo $translate('Media'); ?></h3> -->
</div>
<?php $this->trigger('view.show.before'); ?>
<?php echo $media->render(); ?>
<?php echo $media->displayValues(); ?>
<button onclick="window.history.back()">
<h3 class="label">Back</h3>
</button>
<?php $this->trigger('view.show.after'); ?>

View File

@ -87,7 +87,6 @@ if ($activePage):
<?php echo $this->content; ?>
</div>
<?php $this->trigger('view.show.after'); ?>
<?php /* if ($showPagePagination): */ ?>
<?php if (1 == 0): ?>