Bouton retour pour le module code

This commit is contained in:
fredtempez 2019-01-26 19:41:46 +01:00
parent c017105a73
commit 0e3e3f215f
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="row">
<div class="col2">
<?php $href = helper::baseUrl() . $this->getUrl(2); ?>
<?php if ($this->getData(['page', $this->getUrl(2), 'moduleId']) === 'redirection')$href = helper::baseUrl(); ?>
<?php if ($this->getData(['page', $this->getUrl(2), 'moduleId']) === 'redirection' || 'code')$href = helper::baseUrl(); ?>
<?php echo template::button('pageEditBack', [
'class' => 'buttonGrey',
'href' => $href,