From 7a1646add6b48ff65881a9253c3346c39fb3715d Mon Sep 17 00:00:00 2001
From: Alexander_Kabui
Date: Mon, 18 Mar 2024 17:49:09 +0300
Subject: linnkify abstract and references
---
gn2/wqflask/templates/gnqa_answer.html | 44 +++++++++++++++++++++++++----
gn2/wqflask/templates/pubmed_modal.html | 49 ++++++++++++++++++++++++++++-----
2 files changed, 81 insertions(+), 12 deletions(-)
diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html
index f8010931..fea487b9 100644
--- a/gn2/wqflask/templates/gnqa_answer.html
+++ b/gn2/wqflask/templates/gnqa_answer.html
@@ -134,7 +134,7 @@ outline: none;
@@ -184,7 +184,7 @@ outline: none;
@@ -201,7 +201,7 @@ outline: none;
-
{{reference.comboTxt}}
+
{{reference.comboTxt}}
@@ -243,7 +243,6 @@ $('.panel-collapse').on('show.bs.collapse', function () {
document.addEventListener('DOMContentLoaded', function() {
const GN_SERVER_URL = {{gn_server_url|tojson}}
- console.log(GN_SERVER_URL)
$('#globalsearchform').hide()
$('#gnqna_search_home').show()
$('footer').hide()
@@ -296,5 +295,40 @@ if(likeBtn.hasClass("blue")){
})
+
+
+
+
+
+
+
{% endblock %}
diff --git a/gn2/wqflask/templates/pubmed_modal.html b/gn2/wqflask/templates/pubmed_modal.html
index 96047e9f..f1bb05cb 100644
--- a/gn2/wqflask/templates/pubmed_modal.html
+++ b/gn2/wqflask/templates/pubmed_modal.html
@@ -1,5 +1,27 @@
+
@@ -11,8 +33,21 @@
{{reference.pubmed[0].get('title')}}
-
- {{reference.pubmed[0].get('authors')}}
+
+
+
+
+ Authors:
+
+
+
+
+ {{reference.pubmed[0].get('authors')}}
+
+
+
PMID:{{reference.pubmed[0].get('pub_id')}}
@@ -22,16 +57,15 @@
Abstract
-
+
{{reference.pubmed[0].get('abstract')|safe}}
-
-
-
+
+
@@ -41,3 +75,4 @@
+
--
cgit v1.2.3