ajout colonne au niveau du htmx aussi
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Gilles Van Assche 2025-03-05 10:48:30 +01:00
parent 413f88dd4f
commit 48e106a0e2
2 changed files with 4 additions and 0 deletions

View File

@ -42,12 +42,14 @@ $query = new WP_Query( $args );
$code_postal = empty($code_postal) ? '4800' : $code_postal;
$organisme = get_field('organisme');
$lien_de_levenement = get_field('lien_de_levenement');
$type = get_field('type');
?>
<tr data-postal="<?php echo $code_postal; ?>">
<td class="p-4 border-b border-slate-300"><?php echo $date_debut; ?></td>
<td class="p-4 border-b border-slate-300"><?php echo $date_fin; ?></td>
<td class="p-4 border-b border-slate-300"><?php echo $code_postal; ?></td>
<td class="p-4 border-b border-slate-300"><?php echo $organisme; ?></td>
<td class="p-4 border-b border-slate-300"><?php if(!empty($type)){echo $type['label'];} ?></td>
<td class="p-4 border-b border-slate-300"><a href="<?php echo $lien_de_levenement; ?>" target="_blank"><?php the_title(); ?></a></td>
</tr>
<?php endwhile; else : ?>

View File

@ -42,12 +42,14 @@ $query = new WP_Query( $args );
$code_postal = empty($code_postal) ? '4800' : $code_postal;
$organisme = get_field('organisme');
$lien_de_levenement = get_field('lien_de_levenement');
$type = get_field('type');
?>
<tr>
<td class="p-4 border-b border-slate-300"><?php echo $date_debut; ?></td>
<td class="p-4 border-b border-slate-300"><?php echo $date_fin; ?></td>
<td class="p-4 border-b border-slate-300"><?php echo $code_postal; ?></td>
<td class="p-4 border-b border-slate-300"><?php echo $organisme; ?></td>
<td class="p-4 border-b border-slate-300"><?php if(!empty($type)){echo $type['label'];} ?></td>
<td class="p-4 border-b border-slate-300"><a href="<?php echo $lien_de_levenement; ?>" target="_blank"><?php the_title(); ?></a></td>
</tr>
<?php endwhile; else : ?>