fix months order
This commit is contained in:
parent
3e6f00c387
commit
35d6587379
2 changed files with 22 additions and 6 deletions
|
|
@ -82,7 +82,9 @@
|
|||
<template x-if="tab.includes('Calendrier')">
|
||||
<div class="program-content__events">
|
||||
<section class="collapsable-sections">
|
||||
<?php foreach($currentSeasonSessions as $month => $sessions): ?>
|
||||
<?php
|
||||
|
||||
foreach($currentSeasonSessions as $month => $sessions): ?>
|
||||
<?php if (count($sessions) > 0): ?>
|
||||
<?php snippet('collapsable-section', ['title' => $month, 'padding' => false], slots: true) ?>
|
||||
<?php slot('content') ?>
|
||||
|
|
@ -95,7 +97,7 @@
|
|||
|
||||
try {
|
||||
$endTime = strlen($session['duration']) > 0 ? getEndTime($session) : false;
|
||||
} catch (\Throwable $th) {https://ntb-full.adrien-payet.fr/
|
||||
} catch (\Throwable $th) {
|
||||
throw new Exception($session['title'] .' - ' . $th->getMessage(), 1);
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue