PDF instead of pdf for button

This commit is contained in:
Antoine M 2023-12-13 16:27:41 +01:00
parent de9ed06c5e
commit 17ff97982e
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ $brochuresPosts = $args['brochuresPosts'];
<p class="publications-grid__edition"><?php echo $brochureEdition ?></p>
<?php endif; ?>
<div class="publications-grid__button">
<a href="<?php echo $brochurePdf['url'] ?>" class=" cta cta--secondary cta--button" href="#" target="_blank"><?php echo __("Consulter le pdf", "homegrade-theme__texte-fonctionnel__publications-archive") ?></a>
<a href="<?php echo $brochurePdf['url'] ?>" class=" cta cta--secondary cta--button" href="#" target="_blank"><?php echo __("Consulter le PDF", "homegrade-theme__texte-fonctionnel__publications-archive") ?></a>
</div>
</li>

View File

@ -25,7 +25,7 @@ $fichesInfosPosts = $args['fichesInfosPosts'];
<div class="publications-grid__button">
<?php if ($ficheInfoPdf) : ?>
<a href="<?php echo $ficheInfoPdf['url'] ?>" class=" cta cta--secondary cta--button" href="#" target="_blank"><?php echo __("Consulter le pdf", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></a>
<a href="<?php echo $ficheInfoPdf['url'] ?>" class=" cta cta--secondary cta--button" href="#" target="_blank"><?php echo __("Consulter le PDF", "homegrade-theme__texte-fonctionnel__publications-archive-brochures") ?></a>
<?php endif; ?>
</div>
</li>