Amélioration navigation

This commit is contained in:
Jean-Christophe Engel 2026-10-29 10:01:28 +01:00
parent 96c9e32def
commit a9b061f795
4 changed files with 8 additions and 7 deletions

View file

@ -7,9 +7,7 @@
{{:assign type_immo=$_GET.type_immo}}
{{/if}}
{{if $type_immo == "managed"}}
{{:admin_header title="Immobilisations en cours d'amortissement" custom_css="./style.css" current="module_amortization"}}
{{elseif $type_immo == "amortized"}}
{{if $type_immo == "amortized"}}
{{:admin_header title="Immobilisations amorties" custom_css="./style.css" current="module_amortization"}}
{{elseif $type_immo == "archived"}}
{{:admin_header title="Immobilisations archivées" custom_css="./style.css" current="module_amortization"}}
@ -17,6 +15,9 @@
{{:admin_header title="Immobilisations à classer" custom_css="./style.css" current="module_amortization"}}
{{elseif $type_immo == "unfinished"}}
{{:admin_header title="Immobilisations en cours de constitution" custom_css="./style.css" current="module_amortization" subcurrent="unfinished"}}
{{else}}
{{:assign type_immo="managed"}}
{{:admin_header title="Immobilisations en cours d'amortissement" custom_css="./style.css" current="module_amortization"}}
{{/if}}
{{:include file="_nav.html" current=$type_immo}}
@ -46,7 +47,7 @@
{{:include file="_archives.html"}}
{{elseif $type_immo == "unfinished"}}
{{:include file="_unfinished.html"}}
{{elseif $type_immo == "managed" || $type_immo == "amortized"}}
{{else}}
{{:include file="_immobilisations.html"}}
{{/if}}
{{:admin_footer}}