display isbn10s as well
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
3d2c9964dc
commit
95b269ca05
@ -137,6 +137,7 @@ function ISBNfromEAN(EAN) {
|
|||||||
|
|
||||||
function BookTemplate({
|
function BookTemplate({
|
||||||
"isbn-13": isbn13,
|
"isbn-13": isbn13,
|
||||||
|
"isbn-10": isbn10,
|
||||||
authors,
|
authors,
|
||||||
coverURL,
|
coverURL,
|
||||||
description,
|
description,
|
||||||
@ -153,7 +154,7 @@ function BookTemplate({
|
|||||||
<div class="bookDetails">
|
<div class="bookDetails">
|
||||||
<h1>${title}</h1>
|
<h1>${title}</h1>
|
||||||
<h2>${authors}</h2>
|
<h2>${authors}</h2>
|
||||||
<span>${isbn13}</span><br/>
|
<span>${[isbn10, isbn13].join(" / ")}</span><br/>
|
||||||
<span>${publisher}, ${year}</span><br/>
|
<span>${publisher}, ${year}</span><br/>
|
||||||
${
|
${
|
||||||
series
|
series
|
||||||
@ -167,6 +168,7 @@ function BookTemplate({
|
|||||||
|
|
||||||
function TableRowTemplate({
|
function TableRowTemplate({
|
||||||
"isbn-13": isbn13,
|
"isbn-13": isbn13,
|
||||||
|
"isbn-10": isbn10,
|
||||||
authors,
|
authors,
|
||||||
publisher,
|
publisher,
|
||||||
rowNumber,
|
rowNumber,
|
||||||
@ -183,7 +185,7 @@ function TableRowTemplate({
|
|||||||
<td class="author">${authors}</td>
|
<td class="author">${authors}</td>
|
||||||
<td class="publisher">${publisher}</td>
|
<td class="publisher">${publisher}</td>
|
||||||
<td class="year">${year}</td>
|
<td class="year">${year}</td>
|
||||||
<td class="isbn">${isbn13}</td>
|
<td class="isbn">${isbn13 ? isbn13 : isbn10}</td>
|
||||||
</tr>`;
|
</tr>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user