aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gnqa_answer.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/gnqa_answer.html')
-rw-r--r--gn2/wqflask/templates/gnqa_answer.html41
1 files changed, 38 insertions, 3 deletions
diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html
index aad804ad..51ea71c6 100644
--- a/gn2/wqflask/templates/gnqa_answer.html
+++ b/gn2/wqflask/templates/gnqa_answer.html
@@ -126,6 +126,25 @@ outline: none;
<div id="collapse{{reference.doc_id}}" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading{{reference.doc_id}}">
<div class="panel-body">
+
+ <div>
+ </div>
+ {% if reference.pubmed %}
+
+ <div>
+
+ <button type="button" data-toggle="modal" data-target=".bd-pubmed-modal-lg-{{reference.doc_id}}" style="border:none;text-decoration:underline;outline: none;padding:5px;margin-left:25px;background-color: #d5d5d5;">
+ Pubmed Link
+ </button>
+ </div>
+
+
+ <div>
+ {% include 'pubmed_modal.html' %}
+ </div>
+
+
+ {% endif %}
<p>{{reference.comboTxt}}</p>
<div class="rating" style="margin-right:20px;padding:5px;text-align: right;" data-doc-id="{{reference.doc_id}}" data-task-id="{{task_id['task_id']}}">
@@ -142,9 +161,6 @@ outline: none;
{% else %}
-
-
-
<div class="panel-heading" role="tab" id="heading{{reference.doc_id}}">
<h4 class="panel-title">
@@ -158,7 +174,26 @@ outline: none;
<div id="collapse{{reference.doc_id}}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{{reference.doc_id}}">
+
<div class="panel-body">
+
+
+ {% if reference.pubmed %}
+
+ <button type="button" data-toggle="modal" data-target=".bd-pubmed-modal-lg-{{reference.doc_id}}" style="border:none;text-decoration:underline;outline: none;padding:5px;margin-left:25px;background-color: #d5d5d5;">
+ Pubmed Link
+ </button>
+
+ <div>
+ {% include 'pubmed_modal.html' %}
+
+ </div>
+
+
+
+ {% endif %}
+
+
<p>{{reference.comboTxt}}</p>
<div class="rating" style="margin-right:20px;padding:5px;text-align: right;" data-doc-id="{{reference.doc_id}}" data-task-id="{{task_id['task_id']}}">