about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-04-28 09:30:54 -0500
committerFrederick Muriuki Muriithi2025-04-28 12:21:57 -0500
commit74f0953f60ad0daa8e05907e28266f4bf2ae2c58 (patch)
tree591f5bbba7a1027e95feb8d86c8847b5a46a99e2
parentc7147e3d60e085c70fecef200ed93648cd914da1 (diff)
downloadgn-uploader-74f0953f60ad0daa8e05907e28266f4bf2ae2c58.tar.gz
Provide tooltip text.
-rw-r--r--uploader/templates/publications/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/uploader/templates/publications/index.html b/uploader/templates/publications/index.html
index f6f6fa0..9a30c59 100644
--- a/uploader/templates/publications/index.html
+++ b/uploader/templates/publications/index.html
@@ -38,7 +38,8 @@
                   data: (pub) => {
                   if(pub.PubMed_ID) {
                       return `<a href="https://pubmed.ncbi.nlm.nih.gov/` +
-                          `${pub.PubMed_ID}/" target="_blank">` +
+                          `${pub.PubMed_ID}/" target="_blank" ` +
+                          `title="Link to publication on NCBI.">` +
                           `${pub.PubMed_ID}</a>`;
                   }
                   return "";
@@ -51,7 +52,9 @@
                       title = pub.Title
                   }
                   return `<a href="/publications/view/${pub.Id}" ` +
-                      `target="_blank">${title}</a>`;
+                          `target="_blank" ` +
+                          `title="Link to view publication details">` +
+                          `${title}</a>`;
                   }
               },
               {