From 430d97fdc3582ee189755f8d2c54fc8046a34859 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Thu, 6 Jul 2023 15:01:32 -0600 Subject: [PATCH] Adding manage user profile button to user page --- .../computate/frFR/java/EcrirePageClasse.java | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/computate/frFR/java/EcrirePageClasse.java b/src/main/java/org/computate/frFR/java/EcrirePageClasse.java index a5374b0f..f06bd83e 100644 --- a/src/main/java/org/computate/frFR/java/EcrirePageClasse.java +++ b/src/main/java/org/computate/frFR/java/EcrirePageClasse.java @@ -1751,7 +1751,26 @@ else if("LocalDate".equals(entiteNomSimple)) { l("{{#partial \"htmBody", langueConfig.getString(ConfigCles.var_Graphique), "\"}}{{> htmBody", langueConfig.getString(ConfigCles.var_Graphique), classePageNomSimple, "}}{{/partial}}"); l("{{#partial \"htmBodyCount0\"}}{{> htmBodyCount0", classePageNomSimple, "}}{{/partial}}"); l("{{#partial \"htmBodyCount1", langueConfig.getString(ConfigCles.var_Tous), "\"}}{{> htmBodyCount1", langueConfig.getString(ConfigCles.var_Tous), classePageNomSimple, "}}{{/partial}}"); - l("{{#partial \"htmBodyCount1\"}}{{> htmBodyCount1", classePageNomSimple, "}}{{/partial}}"); + if(classeNomCanonique.equals(classePartsUtilisateurSite.nomCanonique(classeLangueNom))) { + l("{{#partial \"htmBodyCount", langueConfig.getString(ConfigCles.var_Tous), "\"}}"); + tl(0, "
Manage username and password"); + tl(1, "
"); + tl(2, "Manage user profile"); + tl(1, "
"); + tl(0, "
"); + l("{{/partial}}"); + l("{{#partial \"htmBodyCount1\"}}"); + tl(0, "
Manage username and password"); + tl(1, "
"); + tl(2, "Manage user profile"); + tl(1, "
"); + tl(0, "
"); + l("{{/partial}}"); + } else { + l("{{#partial \"htmBodyCount1\"}}{{> htmBodyCount1", classePageNomSimple, "}}{{/partial}}"); + } l("{{#partial \"htmBody", langueConfig.getString(ConfigCles.var_Tous), "\"}}{{> htmBody", langueConfig.getString(ConfigCles.var_Tous), classePageNomSimple, "}}{{/partial}}"); l("{{#partial \"htm", langueConfig.getString(ConfigCles.var_Formulaire), "\"}}{{> htm", langueConfig.getString(ConfigCles.var_Formulaire), classePageNomSimple, "}}{{/partial}}"); l("{{#partial \"htm", langueConfig.getString(ConfigCles.var_Formulaires), "\"}}{{> htm", langueConfig.getString(ConfigCles.var_Formulaires), classePageNomSimple, "}}{{/partial}}");