10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +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) { if (PreviousSetName !== CurrentsetName) {
$("<h1/>").text(CurrentsetName).appendTo(div) $("<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 table = $("<table/>").addClass("datatable").appendTo(div)
var head = $("<tr/>") var head = $("<tr/>")
$("<thead/>").addClass("sticky").append(head).appendTo(table) $("<thead/>").addClass("sticky").append(head).appendTo(table)