Bug d'affichage liste des articles sans image
This commit is contained in:
parent
34dbdc18eb
commit
3d8c93acdb
|
@ -1,5 +1,6 @@
|
|||
# version 6.9
|
||||
- Masque le code de vérification
|
||||
- Corrige un défaut d'affichage de l'article dans l'index, lorsque l'article ne contient pas d'image.
|
||||
# version 6.8
|
||||
- Erreur de décompte des commentaires approuvés ou non dans l'index
|
||||
# version 6.7
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
position: relative;
|
||||
float: left;
|
||||
margin-top: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blogDate,
|
||||
|
|
|
@ -150,15 +150,11 @@
|
|||
<?php $lenght = $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght']) !== 0 ? $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght']) : 500 ?>
|
||||
<?php echo helper::subword(strip_tags($article['content'], '<br><p>'), 0, $lenght); ?>...
|
||||
<div class="readMoreContainer">
|
||||
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>"><button
|
||||
class="readMoreButton">Lire la suite</button></a>
|
||||
<div class="readMoreContainer">
|
||||
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>">
|
||||
<button class="readMoreButton">
|
||||
<?php echo helper::translate('Lire la suite'); ?>
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
<a href="<?php echo helper::baseUrl() . $this->getUrl(0) . '/' . $articleId; ?>">
|
||||
<button class="readMoreButton">
|
||||
<?php echo helper::translate('Lire la suite'); ?>
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue