about summary refs log tree commit diff
path: root/gn2/wqflask/templates/wiki/genewiki.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/wiki/genewiki.html')
-rw-r--r--gn2/wqflask/templates/wiki/genewiki.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/wiki/genewiki.html b/gn2/wqflask/templates/wiki/genewiki.html
new file mode 100644
index 00000000..496f5e28
--- /dev/null
+++ b/gn2/wqflask/templates/wiki/genewiki.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+{% block title %}GeneWiki Entry for {{ symbol }}{% endblock %}
+{% block content %}
+    {{ flash_me() }}
+    <div class = "container">
+        <h1 class = "page-header">GeneWiki Entries</h1>
+        <p>
+            GeneWiki enables you to enrich the annotation of genes and transcripts. Please submit or edit a GeneWiki note (500 characters max) related to a gene, its transcripts, or proteins. When possible include PubMed identifiers or web resource links (URL addresses). Please ensure that the additions will have widespread use. For additional information, check the GeneWiki <a href="https://gn1.genenetwork.org/GeneWikihelp.html" target="_blank">help document</a>.
+        </p>
+        <h3>GeneWiki For {{ symbol }}:</h3>
+        <h5>
+            <strong>GeneNetwork:</strong>
+        </h5>
+        {% if wiki %}
+            <ol>
+                {% for entry in wiki %}
+                    <li>
+                        {{ entry.get("comment") }}
+                        {% if entry.get("web_url") %}
+                            <sup> <small> <a href = "{{ entry.web_url }}" target = "_blank"> <span class = "glyphicon glyphicon-globe" aria-hidden = "true"></span>web</a></small></sup>
+                        {% endif %}
+                    </li>
+                {% endfor %}
+            </ol>
+        {% else %}
+            <p class = "well">
+                <u> There are no GeneNetwork entries for <b> {{ symbol }}.</b></u>
+            </p>
+        {% endif %}
+    </div>
+{% endblock %}