map / marker / geoformat / chapter : remove preview panel button and redirect front to narrative - related to #21
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
This commit is contained in:
parent
bf877c23d2
commit
8a7d4832f0
9 changed files with 45 additions and 14 deletions
|
|
@ -1,4 +1,9 @@
|
|||
title: Chapitre
|
||||
buttons:
|
||||
- open
|
||||
- settings
|
||||
- status
|
||||
- languages
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
title: Géoformat
|
||||
buttons:
|
||||
- open
|
||||
- settings
|
||||
- status
|
||||
- languages
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
title: Carte
|
||||
buttons:
|
||||
- open
|
||||
- settings
|
||||
- status
|
||||
- languages
|
||||
|
||||
columns:
|
||||
main:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
title: Marqueur
|
||||
icon: location
|
||||
buttons:
|
||||
- open
|
||||
- settings
|
||||
- status
|
||||
- languages
|
||||
|
||||
tabs:
|
||||
content:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
title: Récit
|
||||
buttons:
|
||||
- open
|
||||
- settings
|
||||
- status
|
||||
- languages
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
|
|
@ -22,7 +27,7 @@ tabs:
|
|||
text: "{{ file.coverLabel }}"
|
||||
multiple: false
|
||||
width: 1/2
|
||||
pdf:
|
||||
pdf:
|
||||
label: PDF de la publication
|
||||
type: files
|
||||
multiple: false
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
title: Projet
|
||||
buttons:
|
||||
- open
|
||||
- settings
|
||||
- status
|
||||
- languages
|
||||
|
||||
columns:
|
||||
main:
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
<h1><?= $page->title() ?></h1>
|
||||
<?php
|
||||
|
||||
$redirectedTemplates = ['map', 'marker', 'geoformat', 'chapter'];
|
||||
|
||||
if (in_array($page->intendedTemplate(), $redirectedTemplates)) go($page->parents()->findBy('template', 'narrative')->url(), 301);
|
||||
Loading…
Add table
Add a link
Reference in a new issue