diff --git a/src/fr/devinsy/statoolinfos/htmlize/OrganizationHeaderView.java b/src/fr/devinsy/statoolinfos/htmlize/OrganizationHeaderView.java
index 2fd610a..fa15b16 100644
--- a/src/fr/devinsy/statoolinfos/htmlize/OrganizationHeaderView.java
+++ b/src/fr/devinsy/statoolinfos/htmlize/OrganizationHeaderView.java
@@ -93,8 +93,6 @@ public class OrganizationHeaderView
data.setContent("organizationStartDateWord", "");
}
- data.setContent("serviceCount", organization.getServices().size());
-
data.setAttribute("rawLink", "href", organization.getTechnicalName() + ".properties");
data.setAttribute("rawCheckLink", "href", organization.getTechnicalName() + "-check.xhtml");
diff --git a/src/fr/devinsy/statoolinfos/htmlize/ServiceListView.java b/src/fr/devinsy/statoolinfos/htmlize/ServiceListView.java
index 06c670d..74d4226 100644
--- a/src/fr/devinsy/statoolinfos/htmlize/ServiceListView.java
+++ b/src/fr/devinsy/statoolinfos/htmlize/ServiceListView.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Christian Pierre MOMON
+ * Copyright (C) 2020-2021 Christian Pierre MOMON
*
* This file is part of StatoolInfos, simple service statistics tool.
*
@@ -59,6 +59,8 @@ public class ServiceListView
TagDataManager data = new TagDataManager();
+ data.setContent("serviceCount", services.size());
+
if (services.isEmpty())
{
data.setAttribute("serviceListLine", "class", "xid:nodisplay");
diff --git a/src/fr/devinsy/statoolinfos/htmlize/ServicesPage.java b/src/fr/devinsy/statoolinfos/htmlize/ServicesPage.java
index f4b788a..2a241df 100644
--- a/src/fr/devinsy/statoolinfos/htmlize/ServicesPage.java
+++ b/src/fr/devinsy/statoolinfos/htmlize/ServicesPage.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Christian Pierre MOMON
+ * Copyright (C) 2020-2021 Christian Pierre MOMON
*
* This file is part of StatoolInfos, simple service statistics tool.
*
@@ -76,7 +76,6 @@ public class ServicesPage
TagDataManager data = new TagDataManager();
- data.setContent("serviceCount", services.size());
data.setContent("serviceListView", ServiceListView.build(services));
String content = PresenterUtils.dynamize("/fr/devinsy/statoolinfos/htmlize/services.xhtml", data).toString();
diff --git a/src/fr/devinsy/statoolinfos/htmlize/organizationHeaderView.xhtml b/src/fr/devinsy/statoolinfos/htmlize/organizationHeaderView.xhtml
index 98fc3bb..812ee10 100644
--- a/src/fr/devinsy/statoolinfos/htmlize/organizationHeaderView.xhtml
+++ b/src/fr/devinsy/statoolinfos/htmlize/organizationHeaderView.xhtml
@@ -44,8 +44,6 @@
-
- Nombre de services : n/a