Browse Source

améliore le titre

master
vince vince 3 years ago
parent
commit
e007bd449c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      index.php

+ 2
- 3
index.php View File

@ -47,7 +47,7 @@ if ($hasSupplier) {
$config[$supplier] = array_merge(
[
'title' => '%supplier% <small>%date%</small>',
'title' => '%supplier% <small class="text-muted d-block d-sm-inline">%date%</small>',
'description' => '',
'choices' => [],
'start' => 'now 00:00:00',
@ -342,8 +342,6 @@ if (!$isConfig and $hasSupplier) {
<div class="row my-3">
<div class="col">
<h1>
<?php echo $config[$supplier]['title']; ?>
<div class="btn-group float-end" role="group">
<?php if (isset($previousEvent)) : ?>
<a class="btn btn-outline-primary" href="<?php echo generateUrl($supplier, $previousEvent); ?>" title="Événement précédent">
@ -366,6 +364,7 @@ if (!$isConfig and $hasSupplier) {
</a>
<?php endif; ?>
</div>
<?php echo $config[$supplier]['title']; ?>
</h1>
<?php if (!empty($config[$supplier]['description'])) : ?>
<p class="lead"><?php echo $config[$supplier]['description']; ?></p>


Loading…
Cancel
Save