removing unecessary echo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2024-11-05 15:28:15 +01:00
parent 3822dfb171
commit 204141ec66
2 changed files with 0 additions and 6 deletions

View File

@ -13,8 +13,6 @@ if (!function_exists("translateContractType")) {
function translateContractType($contractType)
{
write_log($contractType);
switch ($contractType) {
case 'Mi-temps':
return __("Mi-temps", "homegrade-theme__texte-fonctionnel");
@ -31,7 +29,6 @@ if (!function_exists("translateContractType")) {
?>
<section <?php echo get_block_wrapper_attributes(["class" => "homegrade-blocks-offres-emplois"]); ?>>
<?php echo $content; ?>
<?php if (!$offresEmplois->have_posts()) : ?>
<p><?php echo __("Il ny a pas de poste à pourvoir en ce moment.", "homegrade-theme__texte-fonctionnel") ?></p>
<?php endif; ?>

View File

@ -13,8 +13,6 @@ if (!function_exists("translateContractType")) {
function translateContractType($contractType)
{
write_log($contractType);
switch ($contractType) {
case 'Mi-temps':
return __("Mi-temps", "homegrade-theme__texte-fonctionnel");
@ -31,7 +29,6 @@ if (!function_exists("translateContractType")) {
?>
<section <?php echo get_block_wrapper_attributes(["class" => "homegrade-blocks-offres-emplois"]); ?>>
<?php echo $content; ?>
<?php if (!$offresEmplois->have_posts()) : ?>
<p><?php echo __("Il ny a pas de poste à pourvoir en ce moment.", "homegrade-theme__texte-fonctionnel") ?></p>
<?php endif; ?>