From e84517776dee0682163ada1ffaa755c35f6a48ca Mon Sep 17 00:00:00 2001 From: buttle Date: Mon, 24 May 2021 18:54:53 +0200 Subject: [PATCH] adds item and media pages back_button --- view/omeka/site/item/show.phtml | 3 +++ view/omeka/site/media/show.phtml | 6 +++++- view/omeka/site/page/show.phtml | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/view/omeka/site/item/show.phtml b/view/omeka/site/item/show.phtml index 514f610..a5822d4 100644 --- a/view/omeka/site/item/show.phtml +++ b/view/omeka/site/item/show.phtml @@ -93,6 +93,9 @@ $("#archive_page_title").html('title(); ?>'); trigger('view.show.after'); ?> + diff --git a/view/omeka/site/media/show.phtml b/view/omeka/site/media/show.phtml index da13a17..9844189 100644 --- a/view/omeka/site/media/show.phtml +++ b/view/omeka/site/media/show.phtml @@ -31,9 +31,13 @@ $("#archive_page_title").html('title(); ?>');
pageTitle($media->displayTitle(), 2); ?> -
trigger('view.show.before'); ?> render(); ?> displayValues(); ?> + + + trigger('view.show.after'); ?> diff --git a/view/omeka/site/page/show.phtml b/view/omeka/site/page/show.phtml index c50fc79..7be3fe3 100644 --- a/view/omeka/site/page/show.phtml +++ b/view/omeka/site/page/show.phtml @@ -87,7 +87,6 @@ if ($activePage): content; ?> - trigger('view.show.after'); ?>