Improved creadcrumbtail in uptime pages.
This commit is contained in:
parent
a374975723
commit
95006f3569
5 changed files with 5 additions and 11 deletions
|
@ -42,8 +42,6 @@ public class CrawlJournalView
|
||||||
/**
|
/**
|
||||||
* Htmlize.
|
* Htmlize.
|
||||||
*
|
*
|
||||||
* @param title
|
|
||||||
* the title
|
|
||||||
* @param journal
|
* @param journal
|
||||||
* the journal
|
* the journal
|
||||||
* @return the string
|
* @return the string
|
||||||
|
|
|
@ -41,16 +41,12 @@ public class FederationCrawlJournalPage
|
||||||
private static Logger logger = LoggerFactory.getLogger(FederationCrawlJournalPage.class);
|
private static Logger logger = LoggerFactory.getLogger(FederationCrawlJournalPage.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Htmlize.
|
* Builds the.
|
||||||
*
|
*
|
||||||
* @param title
|
|
||||||
* the title
|
|
||||||
* @param journal
|
|
||||||
* the journal
|
|
||||||
* @return the string
|
|
||||||
* @throws StatoolInfosException
|
* @throws StatoolInfosException
|
||||||
* the statool infos exception
|
* the statool infos exception
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
|
* Signals that an I/O exception has occurred.
|
||||||
*/
|
*/
|
||||||
public static void build() throws StatoolInfosException, IOException
|
public static void build() throws StatoolInfosException, IOException
|
||||||
{
|
{
|
||||||
|
|
|
@ -86,7 +86,7 @@ public class FederationUptimePage
|
||||||
String content = PresenterUtils.dynamize("/fr/devinsy/statoolinfos/htmlize/uptimePage.xhtml", data).toString();
|
String content = PresenterUtils.dynamize("/fr/devinsy/statoolinfos/htmlize/uptimePage.xhtml", data).toString();
|
||||||
|
|
||||||
BreadcrumbTrail trail = new BreadcrumbTrail();
|
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);
|
result = WebCharterView.build(content, trail);
|
||||||
}
|
}
|
||||||
catch (XidynException exception)
|
catch (XidynException exception)
|
||||||
|
|
|
@ -101,7 +101,7 @@ public class OrganizationUptimePage
|
||||||
|
|
||||||
BreadcrumbTrail trail = new BreadcrumbTrail();
|
BreadcrumbTrail trail = new BreadcrumbTrail();
|
||||||
trail.add(organization.getName(), organization.getLocalFileBaseName() + ".xhtml");
|
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);
|
result = WebCharterView.build(content, trail);
|
||||||
}
|
}
|
||||||
catch (XidynException exception)
|
catch (XidynException exception)
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class ServiceUptimePage
|
||||||
BreadcrumbTrail trail = new BreadcrumbTrail();
|
BreadcrumbTrail trail = new BreadcrumbTrail();
|
||||||
trail.add(service.getOrganization().getName(), service.getOrganization().getLocalFileBaseName() + ".xhtml");
|
trail.add(service.getOrganization().getName(), service.getOrganization().getLocalFileBaseName() + ".xhtml");
|
||||||
trail.add(service.getName(), service.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);
|
result = WebCharterView.build(content, trail);
|
||||||
}
|
}
|
||||||
catch (XidynException exception)
|
catch (XidynException exception)
|
||||||
|
|
Loading…
Reference in a new issue