_nav.html : modification chemins

This commit is contained in:
Jean-Christophe Engel 2023-10-12 13:51:01 +02:00
parent 2504650646
commit e0400616a4
1 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,9 @@
{{:assign base_path="/m/%s"|args:$module.name}}
<nav class="tabs">
<ul>
<li {{if $current == 'index'}} class="current"{{/if}}><a href="./">Inventaire</a></li>
<li {{if $current == 'categories'}} class="current"{{/if}}><a href="categories/index.html">Catégories</a></li>
<li {{if $current == 'entrees'}} class="current"{{/if}}><a href="mouvements/entrees/index.html">Entrées</a></li>
<li {{if $current == 'sorties'}} class="current"{{/if}}><a href="mouvements/sorties/index.html">Sorties</a></li>
<li {{if $current == 'index'}} class="current"{{/if}}><a href="{{$base_path}}/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 == 'entrees'}} class="current"{{/if}}><a href="{{$base_path}}/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>
</ul>
</nav>