Improved creadcrumbtail in uptime pages.

This commit is contained in:
Christian P. MOMON 2021-06-12 10:33:52 +02:00
parent a374975723
commit 95006f3569
5 changed files with 5 additions and 11 deletions

View file

@ -42,8 +42,6 @@ public class CrawlJournalView
/**
* Htmlize.
*
* @param title
* the title
* @param journal
* the journal
* @return the string

View file

@ -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
{

View file

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

View file

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

View file

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