Completed template page event
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
This commit is contained in:
parent
231b2fda69
commit
abe6a18d52
2 changed files with 66 additions and 14 deletions
|
|
@ -64,7 +64,7 @@ tabs:
|
|||
mainCredits:
|
||||
label: Crédits principaux
|
||||
type: structure
|
||||
required: true
|
||||
# required: true
|
||||
fields:
|
||||
label:
|
||||
type: text
|
||||
|
|
@ -72,13 +72,9 @@ tabs:
|
|||
type: text
|
||||
secondaryCredits:
|
||||
label: Crédits secondaires
|
||||
type: writer
|
||||
nodes: false
|
||||
marks:
|
||||
- italic
|
||||
- bold
|
||||
- link
|
||||
- mail
|
||||
type: blocks
|
||||
fieldsets:
|
||||
- text
|
||||
|
||||
dates:
|
||||
icon: calendar
|
||||
|
|
@ -138,3 +134,4 @@ tabs:
|
|||
type: url
|
||||
|
||||
tabs: tabs/files
|
||||
|
||||
|
|
|
|||
|
|
@ -29,22 +29,26 @@
|
|||
]) ?>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
<?php foreach ($page->mainCredits()->toStructure() as $credit): ?>
|
||||
<div class="slide" data-type="insert">
|
||||
<div class="main-credits">
|
||||
<dl>
|
||||
<dt><?= $credit->label() ?></dt>
|
||||
<dd><?= $credit->value() ?></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<h1 class="event-title">
|
||||
<?= $page->title() ?>
|
||||
</h1>
|
||||
|
||||
<div class="main-infos bottom-tab">
|
||||
<ul>
|
||||
<li><?= $page->schedule() ?></li>
|
||||
<?php foreach ($page->mainCredits()->toStructure() as $mainCredit): ?>
|
||||
<li><?= $mainCredit->label() ?> : <?= $mainCredit->value() ?></li>
|
||||
<?php endforeach ?>
|
||||
|
|
@ -56,7 +60,58 @@
|
|||
<?= $page->presentation() ?>
|
||||
</div>
|
||||
<div class="infos"></div>
|
||||
|
||||
</article>
|
||||
|
||||
<details class="secondary-credits">
|
||||
<summary>
|
||||
Distribution & production
|
||||
</summary>
|
||||
<?php foreach ($page->secondaryCredits()->toBlocks() as $secondaryCredit): ?>
|
||||
<p>
|
||||
<?= $secondaryCredit ?>
|
||||
</p>
|
||||
<?php endforeach ?>
|
||||
|
||||
</details>
|
||||
|
||||
<details class="dates">
|
||||
<summary>
|
||||
Dates et tournées
|
||||
</summary>
|
||||
|
||||
<?php foreach ($page->dates()->toStructure() as $date): ?>
|
||||
<ul>
|
||||
<li>
|
||||
Du <?= $date->from() ?> au <?= $date->to() ?> : <?= $date->name() ?>
|
||||
<?php if ($link = $date->link()->isNotEmpty()): ?>
|
||||
(<a href="<?= $date->link() ?>" target="blank"><?= $date->link() ?></a>)
|
||||
<?php endif ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php endforeach ?>
|
||||
|
||||
<a href="<?= page('agenda')->url()?>">Voir l'agenda</a>
|
||||
|
||||
|
||||
</details>
|
||||
|
||||
<details class="presse">
|
||||
<summary>
|
||||
Extraits presse
|
||||
</summary>
|
||||
|
||||
<?php foreach ($page->pressQuotes()->toStructure() as $pressQuote): ?>
|
||||
<blockquote>
|
||||
<?= $pressQuote->text() ?>
|
||||
</blockquote>
|
||||
<cite>
|
||||
<a href="<?= $pressQuote->link()?>">
|
||||
<?= $pressQuote->reference() ?>
|
||||
</a>
|
||||
</cite>
|
||||
<?php endforeach ?>
|
||||
|
||||
</details>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue