Replaced Federation button with federation name.

This commit is contained in:
Christian P. MOMON 2020-10-28 15:34:04 +01:00
parent 626180e0c3
commit 9a1e9fa1e2

View file

@ -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));