35 lines
1.5 KiB
HTML
35 lines
1.5 KiB
HTML
{{* -*- brindille -*- *}}
|
|
|
|
<nav class="tabs">
|
|
{{if $current == "index" && $subsubcurrent == null}}
|
|
<aside>
|
|
{{:linkbutton label="Ajouter une immobilisation" shape="plus" href="add_asset.html" target="_dialog"}}
|
|
</aside>
|
|
{{elseif $subsubcurrent == "amortization" && $type_immo == null || $type_immo == "managed" || $type_immo == "other"}}
|
|
<aside>
|
|
{{if $autres_amort != null}}
|
|
{{:linkbutton label="Attacher un amortissement" href="other_amortizations.html?immo_id=%s"|args:$_GET.immo_id shape="plus" target="_dialog"}}
|
|
{{/if}}
|
|
{{:linkbutton label="Enregistrer un amortissement" shape="plus"
|
|
href="save_amort.html?immo_id=%s"|args:$_GET.immo_id target="_dialog"}}
|
|
</aside>
|
|
{{/if}}
|
|
|
|
<ul>
|
|
<li {{if $subcurrent == "managed"}}class="current"{{/if}}><a href="index.html?type_immo=managed">En cours</a></li>
|
|
<li {{if $subcurrent == "amortized"}}class="current"{{/if}}><a href="index.html?type_immo=amortized">Amorties</a></li>
|
|
<li {{if $subcurrent == "archived"}}class="current"{{/if}}><a href="index.html?type_immo=archived">Sorties du bilan</a></li>
|
|
<li {{if $subcurrent == "other"}}class="current"{{/if}}><a href="index.html?type_immo=other">Autres</a></li>
|
|
<li {{if $current == "config"}} class="current"{{/if}}><a href="config.html">Configuration</a></li>
|
|
</ul>
|
|
|
|
{{if $subsubcurrent == "amortization"}}
|
|
<ul class="sub">
|
|
<li class="title"><strong>Amortissements</strong></li>
|
|
</ul>
|
|
{{elseif $subsubcurrent == "balance_exit"}}
|
|
<ul class="sub">
|
|
<li class="title"><strong>Sortie de bilan</strong></li>
|
|
</ul>
|
|
{{/if}}
|
|
</nav>
|