Amélioration navigation inventaire prop/non

This commit is contained in:
Jean-Christophe Engel 2024-11-18 12:22:23 +01:00
parent c20be00ea4
commit 6757757f63
5 changed files with 29 additions and 23 deletions

View file

@ -26,10 +26,10 @@
<nav class="dropdown">
<ul>
<li><a></a></li>
<li{{if $_GET.cat_key == null}} class="selected"{{/if}}><a href="?">Toutes les catégories</a></li>
{{#load type="category" assign="category"}}
<li{{if $_GET.cat_key == null}} class="selected"{{/if}}><a href="?prop=1">Toutes les catégories</a></li>
{{#load type="category" assign="category" order="$$.name"}}
<li {{if $_GET.cat_key == $key}}class="selected"{{/if}}>
<a href="?cat_key={{$key}}">
<a href="?cat_key={{$key}}&prop=1">
<strong>{{$category.name}}</strong>
</a>
</li>