From 59e6abe58119d51c965256b4952327b69ab0ec9a Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Fri, 13 Dec 2024 20:21:21 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20navigation=20+=20masquage?= =?UTF-8?q?=20boutons=20inactifs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _nav.html | 9 ++++++++- amortization.html | 8 ++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/_nav.html b/_nav.html index 9008c17..5fa79aa 100644 --- a/_nav.html +++ b/_nav.html @@ -1,7 +1,14 @@ diff --git a/amortization.html b/amortization.html index 6d0cf5a..673818e 100644 --- a/amortization.html +++ b/amortization.html @@ -3,7 +3,7 @@ {{:admin_header title="Liste des amortissements" custom_css="./style.css" current="module_amortissement"}} {{* barre de navigation *}} -{{:include file="_nav.html" current="amortization"}} +{{:include file="_nav.html" current="index" subcurrent="amortization"}} {{if $_GET.ok}} {{if $_GET.msg|match:"attach"}} @@ -157,7 +157,7 @@ {{if $line.linked == null}} {{:linkbutton label="Détacher" href="detach_amort.html?amort_id=%d&immo_id=%d"|args:$line.amort_line:$ligne_immo.immo_id shape="plus"}} {{else}} - {{:linkbutton label="Détacher" href="" shape="lock" class="disabled"}} + {{*:linkbutton label="Détacher" href="" shape="lock" class="disabled"*}} {{/if}} @@ -216,13 +216,13 @@ {{if $enregistrer == 1}} {{:linkbutton - label="Enregistrer" + label="Créer l'écriture" href="save_amort.html?amount=%d&account=%s&year=%s&trans_id=%d&immo_id=%s&project_id=%d&label=%s&solde=%d"|args:$annuite_courante:$ligne_immo.account_id:$current_year:$ligne_immo.trans_id:$_GET.immo_id:$project_id:$libelle:$solde_prec shape="right" target="_dialog" }} {{else}} - {{:linkbutton label="Enregistrer" href="" shape="lock" class="disabled"}} + {{*:linkbutton label="Créer l'écriture" href="" shape="lock" class="disabled"*}} {{/if}}