summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2016-06-11 19:49:23 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2016-06-11 19:49:23 +0200
commit696c23fd29b75f02567ccb56a9930a3823688e04 (patch)
tree2192ca083d70052d0d2895619d7815e642ce403d
parent69228b82cc69280f2bb4e15cf7cce178eb6a16b4 (diff)
downloadchd_gestion-696c23fd29b75f02567ccb56a9930a3823688e04.zip
chd_gestion-696c23fd29b75f02567ccb56a9930a3823688e04.tar.gz
chd_gestion-696c23fd29b75f02567ccb56a9930a3823688e04.tar.bz2
Lighten some nav
-rw-r--r--generator/after-bake/src/Template/Adherents/index.ctp2
-rw-r--r--generator/after-bake/src/Template/Equipements/index.ctp2
-rw-r--r--generator/after-bake/src/Template/Ippubliques/index.ctp10
3 files changed, 3 insertions, 11 deletions
diff --git a/generator/after-bake/src/Template/Adherents/index.ctp b/generator/after-bake/src/Template/Adherents/index.ctp
index 77d402d..9f62c14 100644
--- a/generator/after-bake/src/Template/Adherents/index.ctp
+++ b/generator/after-bake/src/Template/Adherents/index.ctp
@@ -24,9 +24,7 @@
<li class="heading"><?= __('Actions') ?></li>
<li><?= $this->Html->link(__('New Adherent'), ['action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Villes'), ['controller' => 'Villes', 'action' => 'index']) ?></li>
- <li><?= $this->Html->link(__('New Ville'), ['controller' => 'Villes', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Services'), ['controller' => 'Services', 'action' => 'index']) ?></li>
- <li><?= $this->Html->link(__('New Service'), ['controller' => 'Services', 'action' => 'add']) ?></li>
<li><?= $this->Form->postLink(__('Apply routing'),
'https://priv.chd.sx/api/gen_conf.php',
['confirm' => __('Are you sure you want to globally apply routing?')]
diff --git a/generator/after-bake/src/Template/Equipements/index.ctp b/generator/after-bake/src/Template/Equipements/index.ctp
index 87f2548..a753011 100644
--- a/generator/after-bake/src/Template/Equipements/index.ctp
+++ b/generator/after-bake/src/Template/Equipements/index.ctp
@@ -25,9 +25,7 @@
<li><?= $this->Html->link(__('New Equipement'), ['action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Ipmgmt'), ['controller' => 'Ipmgmt', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('List Equipement Modeles'), ['controller' => 'EquipementModeles', 'action' => 'index']) ?></li>
- <li><?= $this->Html->link(__('New Equipement Modele'), ['controller' => 'EquipementModeles', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Relais'), ['controller' => 'Relais', 'action' => 'index']) ?></li>
- <li><?= $this->Html->link(__('New Relais'), ['controller' => 'Relais', 'action' => 'add']) ?></li>
</ul>
</nav>
<div class="equipements index large-10 medium-9 columns content">
diff --git a/generator/after-bake/src/Template/Ippubliques/index.ctp b/generator/after-bake/src/Template/Ippubliques/index.ctp
index ef0fb80..40cf530 100644
--- a/generator/after-bake/src/Template/Ippubliques/index.ctp
+++ b/generator/after-bake/src/Template/Ippubliques/index.ctp
@@ -19,15 +19,11 @@
* along with CHD Gestion. If not, see <http://www.gnu.org/licenses/>.
**/
?>
-<nav class="large-2 medium-3 columns" id="actions-sidebar">
- <ul class="side-nav">
- <li class="heading"><?= __('Actions') ?></li>
- <li><?= $this->Html->link(__('New Ippublique'), ['action' => 'add']) ?></li>
- <li><?= $this->Html->link(__('List Services'), ['controller' => 'Services', 'action' => 'index']) ?></li>
- <li><?= $this->Html->link(__('New Service'), ['controller' => 'Services', 'action' => 'add']) ?></li>
- </ul>
+<!--<nav class="large-2 medium-3 columns" id="actions-sidebar">
</nav>
<div class="ippubliques index large-10 medium-9 columns content">
+-->
+<div class="ippubliques index content">
<h3><?= __('Ippubliques') ?></h3>
<table cellpadding="0" cellspacing="0">
<?= $this->Form->create(null) . "\n" ?>