- Retours

This commit is contained in:
Vincent BRIDIER 2020-07-17 17:29:32 +02:00
parent 4805c319a3
commit a9b83c91c6
6 changed files with 18 additions and 17 deletions

View file

@ -39,7 +39,7 @@
</div>
</footer>
<a class="apply-btn btn btn_white active" href="https://recrutement.ldc.fr/fr" target="_blank" title="Je postule en 3 clics">
<a class="apply-btn btn btn_white active" href="https://recrutement.ldc.fr/fr/annonces" target="_blank" title="Je postule en 3 clics">
<i class="btn__icon btn__icon_edit"></i>
<span class="apply-btn__text"><span>Je postule en 3 clics</span></span>
</a>

View file

@ -1,6 +1,7 @@
<?php
date_default_timezone_set('Europe/Paris');
// TODO : vérifier si pas d'incidence sur les dates du site
//date_default_timezone_set('Europe/Paris');
/*******************************************************************
SMTP Mail/HTML Mail

View file

@ -20,7 +20,7 @@
<?php if(!empty($l['text'])) : ?>
<div class="engagements-list__item-text"><?php echo $l['text']; ?></div>
<?php endif; ?>
<?php if(!empty($l['button']['url'])) : ?>
<a class="engagements-list__item-btn btn" title="Voir la page" href="<?php echo $l['button']['url']; ?>">Voir la page <i class="btn__icon btn__icon_arrow-right"></i></a>
<?php endif; ?>

View file

@ -2,7 +2,6 @@
$tags = get_the_tags($post->ID);
$date = get_field('date', $post->ID);
$date = date("d/m/Y", strtotime($date));
?>
<div class="posts-list__item list-item">
@ -13,10 +12,10 @@
<img src="<?php $tp ?>/img/post-list-dummy.jpg" alt="no image" />
<?php endif; ?>
<?php
<?php
$borders = array();
$borders['desktop']['bottom'] = 1;
$borders['mobile']['bottom'] = 1;
$borders['desktop']['bottom'] = 1;
$borders['mobile']['bottom'] = 1;
set_query_var('borders', $borders);
get_template_part('partials/borders');
?>
@ -31,5 +30,5 @@
<div class="list-item__date date date_<?php echo $tags[0]->slug; ?>"><?php echo $date; ?></div>
<div class="list-item__text description"><?php the_excerpt(); ?></div>
<a class="list-item__readmore" href="<?php the_permalink(); ?>" title="Lire l’article">Lire l’article</a>
</div>
</div>
</div>
</div>

View file

@ -1,5 +1,5 @@
<?php
get_header();
<?php
get_header();
global $tp;
$current_time = current_time('m/d/Y');
@ -13,7 +13,7 @@
$posts = get_posts(array(
'category_name' => 'news',
'post_type' => 'post',
'post_status' => array('publish', 'future'),
'post_status' => array('publish'),
'meta_query' => array(
'relation' => 'AND',
array(
@ -27,7 +27,7 @@
));
$posts_will = array();
@ -47,9 +47,9 @@
<div class="posts-list__wrapper">
<div class="list-items list-items_events">
<?php foreach ($posts_will as $post) : ?>
<?php
<?php
setup_postdata( $post );
get_template_part('partials/list-item', 'event');
get_template_part('partials/list-item', 'event');
?>
<?php endforeach ?>
<?php wp_reset_postdata(); ?>

View file

@ -940,9 +940,10 @@ textarea:focus {
.page-template-page-sustainably .wp-image-3116 {
display: none;
}
body > div.page-respect > div.textblock.fw.fw-container.textblock_bg.toghether-footprint > div > div:nth-child(3) > div.textblock__image.textblock__block > div:nth-child(2) {
/* TODO : Utilité ? */
/*body > div.page-respect > div.textblock.fw.fw-container.textblock_bg.toghether-footprint > div > div:nth-child(3) > div.textblock__image.textblock__block > div:nth-child(2) {
display: none;
}
}*/
.page-template-page-finance .btn__icon_dl {
background-image: url(./img/btn__icon_eye.png);
width: 21px;