diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-05-01 18:44:43 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-05-01 18:44:43 +0200 |
commit | cfdff966c8c94c038ac9c556daa62c2298d3dbe3 (patch) | |
tree | 0797a184cee4281151630645a1bb1d2a13d652a0 /generator/after-bake/src/Template/Equipements/view.ctp | |
parent | 31cc4b4268525f34bd3be0d679180133e9545301 (diff) | |
download | chd_gestion-cfdff966c8c94c038ac9c556daa62c2298d3dbe3.zip chd_gestion-cfdff966c8c94c038ac9c556daa62c2298d3dbe3.tar.gz chd_gestion-cfdff966c8c94c038ac9c556daa62c2298d3dbe3.tar.bz2 |
Equipements : ajout hostname + tri mac uplink_id
Diffstat (limited to 'generator/after-bake/src/Template/Equipements/view.ctp')
-rw-r--r-- | generator/after-bake/src/Template/Equipements/view.ctp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generator/after-bake/src/Template/Equipements/view.ctp b/generator/after-bake/src/Template/Equipements/view.ctp index 99d6542..9a0f167 100644 --- a/generator/after-bake/src/Template/Equipements/view.ctp +++ b/generator/after-bake/src/Template/Equipements/view.ctp @@ -31,22 +31,22 @@ <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> - <li><?= $this->Html->link(__('List Services'), ['controller' => 'Services', 'action' => 'index']) ?> </li> - <li><?= $this->Html->link(__('New Service'), ['controller' => 'Services', 'action' => 'add']) ?> </li> - <li><?= $this->Html->link(__('List Equipements'), ['controller' => 'Equipements', 'action' => 'index']) ?> </li> - <li><?= $this->Html->link(__('New Equipement'), ['controller' => 'Equipements', 'action' => 'add']) ?> </li> <li><?= $this->Html->link(__('List Equipement Modes'), ['controller' => 'EquipementModes', 'action' => 'index']) ?> </li> <li><?= $this->Html->link(__('New Equipement Mode'), ['controller' => 'EquipementModes', 'action' => 'add']) ?> </li> </ul> </nav> <div class="equipements view large-10 medium-9 columns content"> - <h3><?= h($equipement->id) ?></h3> + <h3><?= h($equipement->title) ?></h3> <table class="vertical-table"> <tr> <th><?= __('Mac') ?></th> <td><?= h($equipement->mac) ?></td> </tr> <tr> + <th><?= __('Hostname') ?></th> + <td><?= h($equipement->hostname) ?></td> + </tr> + <tr> <th><?= __('Ipmgmt') ?></th> <td><?= $equipement->has('ipmgmt') ? $this->Html->link($equipement->ipmgmt->title, ['controller' => 'Ipmgmt', 'action' => 'view', $equipement->ipmgmt->id]) : '' ?></td> </tr> |