removing unecessary echo
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
3822dfb171
commit
204141ec66
|
|
@ -13,8 +13,6 @@ if (!function_exists("translateContractType")) {
|
||||||
|
|
||||||
function translateContractType($contractType)
|
function translateContractType($contractType)
|
||||||
{
|
{
|
||||||
|
|
||||||
write_log($contractType);
|
|
||||||
switch ($contractType) {
|
switch ($contractType) {
|
||||||
case 'Mi-temps':
|
case 'Mi-temps':
|
||||||
return __("Mi-temps", "homegrade-theme__texte-fonctionnel");
|
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"]); ?>>
|
<section <?php echo get_block_wrapper_attributes(["class" => "homegrade-blocks-offres-emplois"]); ?>>
|
||||||
<?php echo $content; ?>
|
|
||||||
<?php if (!$offresEmplois->have_posts()) : ?>
|
<?php if (!$offresEmplois->have_posts()) : ?>
|
||||||
<p><?php echo __("Il n’y a pas de poste à pourvoir en ce moment.", "homegrade-theme__texte-fonctionnel") ?></p>
|
<p><?php echo __("Il n’y a pas de poste à pourvoir en ce moment.", "homegrade-theme__texte-fonctionnel") ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,6 @@ if (!function_exists("translateContractType")) {
|
||||||
|
|
||||||
function translateContractType($contractType)
|
function translateContractType($contractType)
|
||||||
{
|
{
|
||||||
|
|
||||||
write_log($contractType);
|
|
||||||
switch ($contractType) {
|
switch ($contractType) {
|
||||||
case 'Mi-temps':
|
case 'Mi-temps':
|
||||||
return __("Mi-temps", "homegrade-theme__texte-fonctionnel");
|
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"]); ?>>
|
<section <?php echo get_block_wrapper_attributes(["class" => "homegrade-blocks-offres-emplois"]); ?>>
|
||||||
<?php echo $content; ?>
|
|
||||||
<?php if (!$offresEmplois->have_posts()) : ?>
|
<?php if (!$offresEmplois->have_posts()) : ?>
|
||||||
<p><?php echo __("Il n’y a pas de poste à pourvoir en ce moment.", "homegrade-theme__texte-fonctionnel") ?></p>
|
<p><?php echo __("Il n’y a pas de poste à pourvoir en ce moment.", "homegrade-theme__texte-fonctionnel") ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user