add calendrier to program nav expanded

This commit is contained in:
isUnknown 2024-09-20 17:50:55 +02:00
parent 1297b440c8
commit 6f038eaf69

View file

@ -70,6 +70,7 @@
<?php endif ?>
<?php endforeach ?>
<?php if ($category->template() == 'program'): ?>
<li><a class="expanded-nav__subcategory" href="<?= $category->url() . '/?tab=Calendrier' ?>" tabindex="-1">Calendrier</a></li>
<?php foreach($category->categories()->split() as $subcategory): ?>
<li><a class="expanded-nav__subcategory" href="<?= $category->url() . '/?tab=Calendrier+—+' . urlencode($subcategory) ?>" tabindex="-1"><?= $subcategory ?></a></li>
<?php endforeach ?>