diff --git a/src/python/benchmark_models_petab/overview.py b/src/python/benchmark_models_petab/overview.py index 1b1211f..52f5e55 100644 --- a/src/python/benchmark_models_petab/overview.py +++ b/src/python/benchmark_models_petab/overview.py @@ -363,7 +363,8 @@ def get_formatter(col: str): ) if pd.api.types.is_integer_dtype(df[col].dtype): return NumberFormatter(text_align="right") - if col in ["reference_uris", "sbml4humans_urls"]: + if col in ("reference_uris", "sbml4humans_urls"): + icon = "📚" if col == "reference_uris" else "🌠" return HTMLTemplateFormatter( template=""" <% @@ -376,9 +377,9 @@ def get_formatter(col: str): } for (let i = 0; i < urls.length; i++) { %> - <%= urls[i] %> + LINK_TEXT <% } %> - """ + """.replace("LINK_TEXT", icon) ) return StringFormatter()