26 lines
1.2 KiB
PHP
26 lines
1.2 KiB
PHP
<?php
|
|
|
|
$videosWebinairesDatas = $args['videosWebinairesDatas'];
|
|
?>
|
|
<?php foreach ($videosWebinairesDatas as $videoData) : ?>
|
|
|
|
<li class="publications-grid__row publications-grid--webinaires__row">
|
|
|
|
<img class="publications-grid__video-thumbnail" src="<?php echo $videoData['thumbnail']['url'] ?>" />
|
|
|
|
<h2 class="publications-grid__title"><?php echo $videoData['title'] ?></h2>
|
|
<?php if ($videoData['thematique']) : ?>
|
|
<p class="publications-grid__thematique thematique-tag thematique-tag--<?php echo $videoData['thematique']->slug ?>"><?php echo $videoData['thematique']->name ?></p>
|
|
<?php endif; ?>
|
|
<?php if (!$videoData['thematique']) : ?>
|
|
<p class="publications-grid__thematique thematique-tag thematique-tag--general"><?php echo __("Général", "homegrade-theme_texte-fonctionnel") ?></p>
|
|
<?php endif; ?>
|
|
<p class="publications-grid__edition"><?php echo $videoData['date'] ?></p>
|
|
|
|
|
|
<div class="publications-grid__button">
|
|
<a href="<?php echo $videoData['url'] ?>" class=" cta cta--secondary cta--button" target="_blank"><?php echo __("Voir la vidéo", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></a>
|
|
</div>
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|