Browse Source

faire diaparaitre le bouton back pour une mono galerie

12_dev
fredtempez 3 months ago
parent
commit
157ecc16ca
  1. 2
      module/gallery/view/gallery/gallery.php
  2. 1
      module/gallery/view/index/index.php

2
module/gallery/view/gallery/gallery.php

@ -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">

1
module/gallery/view/index/index.php

@ -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; ?>"

Loading…
Cancel
Save