Simplification chemins
This commit is contained in:
parent
6b6a54c357
commit
6006bdd169
11
_nav.html
11
_nav.html
@ -1,10 +1,9 @@
|
|||||||
{{:assign base_path="/m/%s"|args:$module.name}}
|
|
||||||
<nav class="tabs">
|
<nav class="tabs">
|
||||||
<ul>
|
<ul>
|
||||||
<li {{if $current == 'index'}} class="current"{{/if}}><a href="{{$base_path}}/index.html">Inventaire</a></li>
|
<li {{if $current == 'index'}} class="current"{{/if}}><a href="{{$module.url}}index.html">Inventaire</a></li>
|
||||||
<li {{if $current == 'categories'}} class="current"{{/if}}><a href="{{$base_path}}/categories/index.html">Catégories</a></li>
|
<li {{if $current == 'categories'}} class="current"{{/if}}><a href="{{$module.url}}categories/index.html">Catégories</a></li>
|
||||||
<li {{if $current == 'entrees'}} class="current"{{/if}}><a href="{{$base_path}}/mouvements/entrees/index.html">Entrées</a></li>
|
<li {{if $current == 'entrees'}} class="current"{{/if}}><a href="{{$module.url}}mouvements/entrees/index.html">Entrées</a></li>
|
||||||
<li {{if $current == 'sorties'}} class="current"{{/if}}><a href="{{$base_path}}/mouvements/sorties/index.html">Sorties</a></li>
|
<li {{if $current == 'sorties'}} class="current"{{/if}}><a href="{{$module.url}}mouvements/sorties/index.html">Sorties</a></li>
|
||||||
<li {{if $current == 'config'}} class="current"{{/if}}><a href="{{$base_path}}/config.html">Configuration</a></li>
|
<li {{if $current == 'config'}} class="current"{{/if}}><a href="{{$module.url}}config.html">Configuration</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
{{:assign base_path="/m/%s"|args:$module.name}}
|
|
||||||
{{* itérer sur les matériels de la catégorie *}}
|
{{* itérer sur les matériels de la catégorie *}}
|
||||||
{{#foreach from=$category.eqpmt key="eqpmt_key" item="eqpmt"}}
|
{{#foreach from=$category.eqpmt key="eqpmt_key" item="eqpmt"}}
|
||||||
|
|
||||||
@ -60,12 +59,12 @@
|
|||||||
<td class="actions">
|
<td class="actions">
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Historique des mouvements"
|
label="Historique des mouvements"
|
||||||
href="%s/historique.html?key=%s"|args:$base_path:$eqpmt_key
|
href="%shistorique.html?key=%s"|args:$module.url:$eqpmt_key
|
||||||
shape="table"
|
shape="table"
|
||||||
target="_dialog"}}
|
target="_dialog"}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Modifier"
|
label="Modifier"
|
||||||
href="%s/modifier_materiel.html?key=%s"|args:$base_path:$eqpmt_key
|
href="%smodifier_materiel.html?key=%s"|args:$module.url:$eqpmt_key
|
||||||
shape="edit"
|
shape="edit"
|
||||||
target="_dialog"}}
|
target="_dialog"}}
|
||||||
</td>
|
</td>
|
||||||
@ -122,12 +121,12 @@
|
|||||||
<td class="actions">
|
<td class="actions">
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Historique des mouvements"
|
label="Historique des mouvements"
|
||||||
href="%s/historique.html?key=%s"|args:$base_path:$eqpmt_key
|
href="%shistorique.html?key=%s"|args:$module.url:$eqpmt_key
|
||||||
shape="table"
|
shape="table"
|
||||||
target="_dialog"}}
|
target="_dialog"}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Modifier"
|
label="Modifier"
|
||||||
href="%s/modifier_materiel.html?key=%s"|args:$base_path:$eqpmt_key
|
href="%smodifier_materiel.html?key=%s"|args:$module.url:$eqpmt_key
|
||||||
shape="edit"
|
shape="edit"
|
||||||
target="_dialog"}}
|
target="_dialog"}}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user