diff options
author | Munyoki Kilyungi | 2023-04-18 14:56:13 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-04-18 15:13:58 +0300 |
commit | bbe74f74c57976c9a336f59e116a6456e7ac913d (patch) | |
tree | feabf49755531e574dc1fb83bf4dafdb01241721 /wqflask | |
parent | 9d770cd85bb80869fd35a843e1fa3eabbc90ad35 (diff) | |
download | genenetwork2-bbe74f74c57976c9a336f59e116a6456e7ac913d.tar.gz |
Add a web url to genewiki entries for GN
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/generif.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/generif.html b/wqflask/wqflask/templates/generif.html index affcbbed..d8229ac1 100644 --- a/wqflask/wqflask/templates/generif.html +++ b/wqflask/wqflask/templates/generif.html @@ -45,7 +45,13 @@ GeneWiki Entry for {{ symbol }} {% for entry in entries.gn_entries %} <li class="list-group-item"> <details> - <summary>{{ entry["entry"]["value"] }}</summary> + <summary> + {{ entry["entry"]["value"] }} + {% if entry.get("weburl") %} + glyphicon glyphicon-open + <sup><small><a href="{{ entry.weburl.value }}" target="_blank"><span class="glyphicon glyphicon-globe" aria-hidden="true"></span> web</a></small></sup> + {% endif %} + </summary> <dl class="dl-horizontal"> <dt>Author:</dt> <dd>{{ entry["author"]["value"] }}</dd> |