Fix biblio citations
This commit is contained in:
parent
0c33329582
commit
e32c695cf2
@ -90,9 +90,9 @@ export class Finding {
|
|||||||
<span class="is-clickable is-capitalized has-text-link"
|
<span class="is-clickable is-capitalized has-text-link"
|
||||||
data-action="click->biblio#open"
|
data-action="click->biblio#open"
|
||||||
id="cit-${biblio.id}">
|
id="cit-${biblio.id}">
|
||||||
${biblio.citation.toLowerCase()},
|
${biblio.citation.toLowerCase()}</span>`;
|
||||||
</span> ${biblio.pages};
|
|
||||||
`;
|
citations += biblio.pages?.length ? `, ${biblio.pages};` : ';';
|
||||||
|
|
||||||
this.biblioElements.push(`
|
this.biblioElements.push(`
|
||||||
<div class="p-2 mt-2" id="ref-${biblio.id}">
|
<div class="p-2 mt-2" id="ref-${biblio.id}">
|
||||||
|
@ -60,9 +60,9 @@ export class NotConservedSheet {
|
|||||||
<span class="is-clickable is-capitalized has-text-link"
|
<span class="is-clickable is-capitalized has-text-link"
|
||||||
data-action="click->biblio#open"
|
data-action="click->biblio#open"
|
||||||
id="cit-${record.id}">
|
id="cit-${record.id}">
|
||||||
${record.citation.toLowerCase()},
|
${record.citation.toLowerCase().trim()}</span>`;
|
||||||
</span> ${record.pages};
|
|
||||||
`;
|
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||||
|
|
||||||
this.biblioElements.push(`
|
this.biblioElements.push(`
|
||||||
<div class="p-2 mt-2" id="ref-${record.id}">
|
<div class="p-2 mt-2" id="ref-${record.id}">
|
||||||
|
@ -102,9 +102,9 @@ export class SiteSheet {
|
|||||||
<span class="is-clickable is-capitalized has-text-link"
|
<span class="is-clickable is-capitalized has-text-link"
|
||||||
data-action="click->biblio#open"
|
data-action="click->biblio#open"
|
||||||
id="cit-${record.id}">
|
id="cit-${record.id}">
|
||||||
${record.citation.toLowerCase().trim()},
|
${record.citation.toLowerCase().trim()}</span>`;
|
||||||
</span> ${record.pages};
|
|
||||||
`;
|
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||||
|
|
||||||
this.biblioElements.push(`
|
this.biblioElements.push(`
|
||||||
<div class="p-2 mt-2" id="ref-${record.id}">
|
<div class="p-2 mt-2" id="ref-${record.id}">
|
||||||
|
Loading…
Reference in New Issue
Block a user