10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 13:13:55 +01: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)