about summary refs log tree commit diff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-01-23 15:41:03 -0600
committerFrederick Muriuki Muriithi2025-01-23 15:41:03 -0600
commita7f4c053122a534218943ea778d875d3c1cc3ee6 (patch)
tree3e2ac9c7482e4c07c7f6292575596e4f5c70aff0 /uploader/templates
parent7b626ecd21699bd809643aefeea7a075a96a4e66 (diff)
downloadgn-uploader-a7f4c053122a534218943ea778d875d3c1cc3ee6.tar.gz
Add publication data to page.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/phenotypes/view-phenotype.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/view-phenotype.html b/uploader/templates/phenotypes/view-phenotype.html
index 5ed45b7..03f7ea0 100644
--- a/uploader/templates/phenotypes/view-phenotype.html
+++ b/uploader/templates/phenotypes/view-phenotype.html
@@ -45,6 +45,19 @@
           <td><strong>Units</strong></td>
           <td>{{phenotype.Units}}</td>
         </tr>
+        {%for key,value in publish_data.items()%}
+        <tr>
+          <td><strong>{{key}}</strong></td>
+          <td>{{value}}</td>
+        </tr>
+        {%else%}
+        <tr>
+          <td colspan="2" class="text-muted">
+            <span class="glyphicon glyphicon-exclamation-sign"></span>
+            No publication data found.
+          </td>
+        </tr>
+        {%endfor%}
       </tbody>
     </table>