diff --git a/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java b/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java index dd76919..82830b2 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java +++ b/src/fr/devinsy/statoolinfos/htmlize/CrawlJournalView.java @@ -64,10 +64,13 @@ public class CrawlJournalView int index = 0; for (CrawlLog log : journal) { - data.setEscapedContent("crawlLogLine", index, "crawlLogLineUrlLink", log.getUrl().toString()); - data.setEscapedAttribute("crawlLogLine", index, "crawlLogLineUrlLink", "href", log.getUrl().toString()); data.setEscapedContent("crawlLogLine", index, "crawlLogLineParentUrlLink", StringUtils.abbreviate(log.getParentUrlValue(), 35)); data.setEscapedAttribute("crawlLogLine", index, "crawlLogLineParentUrlLink", "href", StringUtils.defaultString(log.getParentUrlValue(), "#")); + data.setEscapedAttribute("crawlLogLine", index, "crawlLogLineParentUrlLink", "title", StringUtils.defaultString(log.getParentUrlValue(), "#")); + + data.setEscapedContent("crawlLogLine", index, "crawlLogLineUrlLink", log.getUrl().toString()); + data.setEscapedAttribute("crawlLogLine", index, "crawlLogLineUrlLink", "href", log.getUrl().toString()); + data.setContent("crawlLogLine", index, "crawlLogLineStatus", log.getStatus().toString()); if (log.getStatus().isError()) diff --git a/src/fr/devinsy/statoolinfos/htmlize/crawlJournal.xhtml b/src/fr/devinsy/statoolinfos/htmlize/crawlJournal.xhtml index 103691b..6621ca4 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/crawlJournal.xhtml +++ b/src/fr/devinsy/statoolinfos/htmlize/crawlJournal.xhtml @@ -11,7 +11,7 @@
-Parent | +Parent | URL | Statut |
---|