ajout colonne au niveau du htmx aussi
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
413f88dd4f
commit
48e106a0e2
|
|
@ -42,12 +42,14 @@ $query = new WP_Query( $args );
|
||||||
$code_postal = empty($code_postal) ? '4800' : $code_postal;
|
$code_postal = empty($code_postal) ? '4800' : $code_postal;
|
||||||
$organisme = get_field('organisme');
|
$organisme = get_field('organisme');
|
||||||
$lien_de_levenement = get_field('lien_de_levenement');
|
$lien_de_levenement = get_field('lien_de_levenement');
|
||||||
|
$type = get_field('type');
|
||||||
?>
|
?>
|
||||||
<tr data-postal="<?php echo $code_postal; ?>">
|
<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_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 $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 $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 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>
|
<td class="p-4 border-b border-slate-300"><a href="<?php echo $lien_de_levenement; ?>" target="_blank"><?php the_title(); ?></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endwhile; else : ?>
|
<?php endwhile; else : ?>
|
||||||
|
|
|
||||||
|
|
@ -42,12 +42,14 @@ $query = new WP_Query( $args );
|
||||||
$code_postal = empty($code_postal) ? '4800' : $code_postal;
|
$code_postal = empty($code_postal) ? '4800' : $code_postal;
|
||||||
$organisme = get_field('organisme');
|
$organisme = get_field('organisme');
|
||||||
$lien_de_levenement = get_field('lien_de_levenement');
|
$lien_de_levenement = get_field('lien_de_levenement');
|
||||||
|
$type = get_field('type');
|
||||||
?>
|
?>
|
||||||
<tr>
|
<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_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 $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 $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 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>
|
<td class="p-4 border-b border-slate-300"><a href="<?php echo $lien_de_levenement; ?>" target="_blank"><?php the_title(); ?></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endwhile; else : ?>
|
<?php endwhile; else : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user