diff --git a/src/caosadvancedtools/crawler.py b/src/caosadvancedtools/crawler.py index 3017f64c39147a71ed660bc5431d2aa55da7ef57..82ada2fa02cd3b87415493e1c1d5499fc3dc8a82 100644 --- a/src/caosadvancedtools/crawler.py +++ b/src/caosadvancedtools/crawler.py @@ -537,9 +537,13 @@ carefully and if the changes are ok, click on the following link: info = "UPDATE: updating the following entities\n" + baseurl = db.configuration.get_config()["Connection"]["url"] for el in cfood.to_be_updated: - info += str("\t" + el.name if el.name is not None else "\t" + - str(el.id)) + def make_clickable(txt, id): + return "<a href='{}/Entity/{}'>{}</a>".format(baseurl, id, txt) + info += str("\t" + make_clickable(el.name, el.id) + if el.name is not None + else "\t" + make_clickable(str(el.id), el.id)) info += "\n" logger.info(info)