10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-23 11:17:42 +02:00

The publication name in the content table is now clickable

This commit is contained in:
Mickaël Véril 2020-08-24 13:46:03 +02:00
parent a44813e2d1
commit a6dd840faf

View File

@ -494,7 +494,8 @@ draft: false
if (PreviousSetName !== CurrentsetName) {
$("<h1/>").text(CurrentsetName).appendTo(div)
}
$("<h2/>").text(doiCache.get(doi).format('data', { format: 'object' })[0].title).appendTo(div)
const doiDat = doiCache.get(doi).format('data', { format: 'object' })[0]
$("<h2/>").append($("<a>",{href:doiDat.URL,target:"_blank"}).text(doiDat.title)).appendTo(div)
var table = $("<table/>").addClass("datatable").appendTo(div)
var head = $("<tr/>")
$("<thead/>").addClass("sticky").append(head).appendTo(table)