From 9a1e9fa1e26dfaab8e23e7ec337f621fca667ede Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 28 Oct 2020 15:34:04 +0100 Subject: [PATCH] Replaced Federation button with federation name. --- src/fr/devinsy/statoolinfos/htmlize/WebCharterView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fr/devinsy/statoolinfos/htmlize/WebCharterView.java b/src/fr/devinsy/statoolinfos/htmlize/WebCharterView.java index 719817d..e607a9a 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/WebCharterView.java +++ b/src/fr/devinsy/statoolinfos/htmlize/WebCharterView.java @@ -25,6 +25,7 @@ import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import fr.devinsy.statoolinfos.HtmlizerContext; import fr.devinsy.statoolinfos.core.StatoolInfosException; import fr.devinsy.statoolinfos.util.BuildInformation; import fr.devinsy.xidyn.XidynException; @@ -79,6 +80,7 @@ public class WebCharterView TagDataManager data = new TagDataManager(); + data.setContent("federationButton", HtmlizerContext.instance().getFederation().getName()); data.setContent("versionsup", BuildInformation.instance().version()); data.setContent("lastUpdateDate", LocalDateTime.now().format(DateTimeFormatter.ofPattern("dd/MM/yyyy HH':'mm", Locale.FRANCE))); data.setContent("webCharterContent", XidynUtils.extractBodyContent(content));