about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/generif.html8
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>