diff --git a/webapp/templates/chlamdb/fam.html b/webapp/templates/chlamdb/fam.html index 36956bb62..5abf833d5 100644 --- a/webapp/templates/chlamdb/fam.html +++ b/webapp/templates/chlamdb/fam.html @@ -178,7 +178,7 @@

Description

{% for key, value in info.items %} {{key}} - {{value}} + {{value|safe}} {% endfor %} diff --git a/webapp/views/utils.py b/webapp/views/utils.py index fc813858c..9b9212925 100644 --- a/webapp/views/utils.py +++ b/webapp/views/utils.py @@ -136,10 +136,14 @@ def format_amr(gene, to_url=False): return f"{gene}" +icon_external_link = '' + + def format_hmm_url(hmm_id): if hmm_id: hmm_id = hmm_id.rsplit(".", 1)[0] - return f"{hmm_id}" # noqa + return f'{hmm_id} {icon_external_link}' # noqa return hmm_id