We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8af5a6 commit c0aaef4Copy full SHA for c0aaef4
1 file changed
src/python/benchmark_models_petab/overview.py
@@ -363,7 +363,8 @@ def get_formatter(col: str):
363
)
364
if pd.api.types.is_integer_dtype(df[col].dtype):
365
return NumberFormatter(text_align="right")
366
- if col in ["reference_uris", "sbml4humans_urls"]:
+ if col in ("reference_uris", "sbml4humans_urls"):
367
+ icon = "📚" if col == "reference_uris" else "🧮"
368
return HTMLTemplateFormatter(
369
template="""
370
<%
@@ -376,9 +377,9 @@ def get_formatter(col: str):
376
377
}
378
for (let i = 0; i < urls.length; i++) {
379
%>
- <a href="<%= urls[i] %>" target="_blank"><%= urls[i] %></a>
380
+ <a href="<%= urls[i] %>" target="_blank">LINK_TEXT</a>
381
<% } %>
- """
382
+ """.replace("LINK_TEXT", icon)
383
384
385
return StringFormatter()
0 commit comments