mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
fix few routes and basic errors
This commit is contained in:
parent
adb739775f
commit
bb8a114485
29 changed files with 142 additions and 181 deletions
|
@ -11,9 +11,9 @@
|
|||
</audio>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (ENVIRONMENT == 'dev') { ?>
|
||||
<?php if (ENV == 'dev') { ?>
|
||||
<script>
|
||||
<?php while ($message = \modules\DescartesSessionMessages\internals\DescartesSessionMessages::getNext()) { ?>
|
||||
<?php while ($message = \FlashMessage\FlashMessage::next()) { ?>
|
||||
alert('<?php echo $message['type'] . ' : ' . $message['text']; ?>');
|
||||
<?php } ?>
|
||||
</script>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<a href="<?php echo \descartes\Router::url('Contact', 'list'); ?>"><i class="fa fa-fw fa-user"></i> Contacts</a>
|
||||
</li>
|
||||
<li <?php echo $page == 'groupes' ? 'class="active"' : ''; ?>>
|
||||
<a href="<?php echo \descartes\Router::url('Groupe', 'list'); ?>"><i class="fa fa-fw fa-group"></i> Groupes</a>
|
||||
<a href="<?php echo \descartes\Router::url('Group', 'list'); ?>"><i class="fa fa-fw fa-group"></i> Groupes</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue