From 95006f356920fa1f2798b615a888a2561dbf5327 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sat, 12 Jun 2021 10:33:52 +0200 Subject: [PATCH] Improved creadcrumbtail in uptime pages. --- src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java | 2 -- .../statoolinfos/htmlize/FederationCrawlJournalPage.java | 8 ++------ .../statoolinfos/htmlize/FederationUptimePage.java | 2 +- .../statoolinfos/htmlize/OrganizationUptimePage.java | 2 +- .../devinsy/statoolinfos/htmlize/ServiceUptimePage.java | 2 +- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java b/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java index d7b519b..dd76919 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java +++ b/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java @@ -42,8 +42,6 @@ public class CrawlJournalView /** * Htmlize. * - * @param title - * the title * @param journal * the journal * @return the string diff --git a/src/fr/devinsy/statoolinfos/htmlize/FederationCrawlJournalPage.java b/src/fr/devinsy/statoolinfos/htmlize/FederationCrawlJournalPage.java index 9dd2894..2e1121f 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/FederationCrawlJournalPage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/FederationCrawlJournalPage.java @@ -41,16 +41,12 @@ public class FederationCrawlJournalPage private static Logger logger = LoggerFactory.getLogger(FederationCrawlJournalPage.class); /** - * Htmlize. + * Builds the. * - * @param title - * the title - * @param journal - * the journal - * @return the string * @throws StatoolInfosException * the statool infos exception * @throws IOException + * Signals that an I/O exception has occurred. */ public static void build() throws StatoolInfosException, IOException { diff --git a/src/fr/devinsy/statoolinfos/htmlize/FederationUptimePage.java b/src/fr/devinsy/statoolinfos/htmlize/FederationUptimePage.java index ea9624c..6d9c586 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/FederationUptimePage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/FederationUptimePage.java @@ -86,7 +86,7 @@ public class FederationUptimePage String content = PresenterUtils.dynamize("/fr/devinsy/statoolinfos/htmlize/uptimePage.xhtml", data).toString(); BreadcrumbTrail trail = new BreadcrumbTrail(); - trail.add("Disponibilités", federation.getLocalFileBaseName() + "-uptimes.xhtml"); + trail.add("Disponibilité des services", federation.getLocalFileBaseName() + "-uptimes.xhtml"); result = WebCharterView.build(content, trail); } catch (XidynException exception) diff --git a/src/fr/devinsy/statoolinfos/htmlize/OrganizationUptimePage.java b/src/fr/devinsy/statoolinfos/htmlize/OrganizationUptimePage.java index 3e373ca..90770ec 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/OrganizationUptimePage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/OrganizationUptimePage.java @@ -101,7 +101,7 @@ public class OrganizationUptimePage BreadcrumbTrail trail = new BreadcrumbTrail(); trail.add(organization.getName(), organization.getLocalFileBaseName() + ".xhtml"); - trail.add("Disponibilités", organization.getLocalFileBaseName() + "-uptimes.xhtml"); + trail.add("Disponibilité des services", organization.getLocalFileBaseName() + "-uptimes.xhtml"); result = WebCharterView.build(content, trail); } catch (XidynException exception) diff --git a/src/fr/devinsy/statoolinfos/htmlize/ServiceUptimePage.java b/src/fr/devinsy/statoolinfos/htmlize/ServiceUptimePage.java index 00377e3..ca8cf90 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/ServiceUptimePage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/ServiceUptimePage.java @@ -108,7 +108,7 @@ public class ServiceUptimePage BreadcrumbTrail trail = new BreadcrumbTrail(); trail.add(service.getOrganization().getName(), service.getOrganization().getLocalFileBaseName() + ".xhtml"); trail.add(service.getName(), service.getLocalFileBaseName() + ".xhtml"); - trail.add("Disponibilités", service.getLocalFileBaseName() + "-uptimes.xhtml"); + trail.add("Disponibilité des services", service.getLocalFileBaseName() + "-uptimes.xhtml"); result = WebCharterView.build(content, trail); } catch (XidynException exception)