faire diaparaitre le bouton back pour une mono galerie

This commit is contained in:
fredtempez 2022-03-22 13:30:34 +01:00
parent b2dd61e392
commit 157ecc16ca
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
<?php if ( count($this->getData(['module', $this->getUrl(0), 'content'])) !== 1): ?>
<div class="row">
<div class="col1">
<?php echo template::button('galleryGalleryBack', [
@ -7,6 +8,7 @@
]); ?>
</div>
</div>
<?php endif; ?>
<div class="row galleryRow">
<?php foreach($module::$pictures as $picture => $legend): ?>
<div class="colPicture">

View File

@ -1,7 +1,6 @@
<?php if($module::$galleries): ?>
<div class="row galleryRow">
<?php foreach($module::$galleries as $galleryId => $gallery): ?>
<div class="colPicture" div="pos<?php echo $gallery['config']['position']; ?>" >
<a
href="<?php echo helper::baseUrl() . $this->getUrl(0); ?>/<?php echo $galleryId; ?>"