diff --git a/src/Resources/translations/messages.en.yaml b/src/Resources/translations/messages.en.yaml index 95a3a5a..63fc374 100644 --- a/src/Resources/translations/messages.en.yaml +++ b/src/Resources/translations/messages.en.yaml @@ -24,6 +24,8 @@ monsieurbiz_cms_page: actions: create: 'Create a new page' preview: 'Preview' + banner: + preview: 'Preview' monsieurbiz_menu: provider: page: 'Page' diff --git a/src/Resources/translations/messages.fr.yaml b/src/Resources/translations/messages.fr.yaml index 31f7e2b..35d786b 100644 --- a/src/Resources/translations/messages.fr.yaml +++ b/src/Resources/translations/messages.fr.yaml @@ -24,6 +24,8 @@ monsieurbiz_cms_page: actions: create: 'Créer une nouvelle page' preview: 'Prévisualiser' + banner: + preview: 'Prévisualisation' monsieurbiz_menu: provider: page: 'Page' diff --git a/src/Resources/translations/messages.pl.yaml b/src/Resources/translations/messages.pl.yaml index 64049ae..7829e13 100644 --- a/src/Resources/translations/messages.pl.yaml +++ b/src/Resources/translations/messages.pl.yaml @@ -24,6 +24,8 @@ monsieurbiz_cms_page: actions: create: 'Utwórz nową stronę' preview: 'Podgląd' + banner: + preview: 'Podgląd' monsieurbiz_menu: provider: page: 'Strona' diff --git a/src/Resources/views/Admin/Page/preview.html.twig b/src/Resources/views/Admin/Page/preview.html.twig index 07faa88..6886edc 100644 --- a/src/Resources/views/Admin/Page/preview.html.twig +++ b/src/Resources/views/Admin/Page/preview.html.twig @@ -1,4 +1,31 @@ -{% extends '@MonsieurBizSyliusCmsPagePlugin/Shop/preview_layout.html.twig' %} +{# This extends takes account of the potential theme template #} +{% extends '@MonsieurBizSyliusCmsPagePlugin/Shop/Page/show.html.twig' %} + +{% block top %} +