Restructure section École, évolution champs date news-item, traduction promote-button
- Renomme content/presentation en content/ecole avec titre et blueprint mis à jour - Ajoute les 3 sous-sections (l-ecole, equipe-et-instances, ressources) et leurs 14 sous-pages - Met à jour la navigation dans site.txt avec l'arborescence complète de École - Remplace le champ date par startDate/endDate/startHour/endHour dans news-item - Ajoute page model news-item.php avec categoryLabel() et eventDateInfo() - Traduit les labels "Text" et "Post To" du plugin promote-button en français Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
64ea6acce8
commit
22299c30d0
59 changed files with 1437 additions and 20 deletions
|
|
@ -111,14 +111,14 @@ Kirby::plugin('scottboms/promote-button', [
|
|||
'size' => 'large',
|
||||
'fields' => [
|
||||
'text' => [
|
||||
'label' => 'Text',
|
||||
'label' => 'Texte',
|
||||
'type' => 'textarea',
|
||||
'buttons' => false,
|
||||
'size' => 'small',
|
||||
'required' => true,
|
||||
],
|
||||
'platforms' => [
|
||||
'label' => 'Post To',
|
||||
'label' => 'Publier sur',
|
||||
'type' => 'checkboxes',
|
||||
'columns' => max(1, min(3, count(option('scottboms.promote.services', [])))),
|
||||
'options' => array_map(function ($service) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue