<nav class="tabs"> {{if $current == 'inventaire'}} <aside> {{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}} </aside> {{/if}} <ul> <li {{if $current == 'inventaire'}} class="current"{{/if}}><a href="{{$module.url}}index.html?prop=1">Inventaire</a></li> <li {{if $current == 'config'}} class="current"{{/if}}><a href="{{$module.url}}categories/index.html">Configuration</a></li> </ul> {{if $current == 'inventaire'}} <ul class="sub"> <li {{if $subcurrent == 'proprio'}} class="current"{{/if}}><a href="{{$module.url}}index.html?prop=1">Matériels permanents</a></li> <li {{if $subcurrent == 'nonproprio'}} class="current"{{/if}}><a href="{{$module.url}}index.html?prop=0">Matériels temporaires</a></li> </ul> {{if $subsubcurrent == 'mouvements'}} <ul class="sub"> <li class="title"><strong>{{$eqpmt}} ({{$category}})</strong></li> <li class="current"><a>Mouvements</a></li> </ul> {{/if}} {{elseif $current == 'config'}} {{if $subcurrent == 'categories'}} <aside> {{:linkbutton label="Ajouter une catégorie" shape="plus" href="add_category.html" target="_dialog"}} </aside> {{elseif $subcurrent == 'typesES'}} <aside> {{:linkbutton label="Ajouter un type d'entrée" shape="plus" href="config/ajouter_type_mouvement.html?dir=input" target="_dialog"}} {{:linkbutton label="Ajouter un type de sortie" shape="plus" href="config/ajouter_type_mouvement.html?dir=output" target="_dialog"}} </aside> {{/if}} <ul class="sub" > <li {{if $subcurrent == 'categories'}} class="current"{{/if}}><a href="{{$module.url}}categories/index.html">Catégories</a></li> <li {{if $subcurrent == 'typesES'}} class="current"{{/if}}><a href="{{$module.url}}config.html">Types d'entrées/sorties</a></li> </ul> {{/if}} </nav>