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"
|
||||
data-action="click->biblio#open"
|
||||
id="cit-${biblio.id}">
|
||||
${biblio.citation.toLowerCase()},
|
||||
</span> ${biblio.pages};
|
||||
`;
|
||||
${biblio.citation.toLowerCase()}</span>`;
|
||||
|
||||
citations += biblio.pages?.length ? `, ${biblio.pages};` : ';';
|
||||
|
||||
this.biblioElements.push(`
|
||||
<div class="p-2 mt-2" id="ref-${biblio.id}">
|
||||
|
@ -60,10 +60,10 @@ export class NotConservedSheet {
|
||||
<span class="is-clickable is-capitalized has-text-link"
|
||||
data-action="click->biblio#open"
|
||||
id="cit-${record.id}">
|
||||
${record.citation.toLowerCase()},
|
||||
</span> ${record.pages};
|
||||
`;
|
||||
${record.citation.toLowerCase().trim()}</span>`;
|
||||
|
||||
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||
|
||||
this.biblioElements.push(`
|
||||
<div class="p-2 mt-2" id="ref-${record.id}">
|
||||
<p class="p-3">${record.reference}</p>
|
||||
|
@ -102,9 +102,9 @@ export class SiteSheet {
|
||||
<span class="is-clickable is-capitalized has-text-link"
|
||||
data-action="click->biblio#open"
|
||||
id="cit-${record.id}">
|
||||
${record.citation.toLowerCase().trim()},
|
||||
</span> ${record.pages};
|
||||
`;
|
||||
${record.citation.toLowerCase().trim()}</span>`;
|
||||
|
||||
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||
|
||||
this.biblioElements.push(`
|
||||
<div class="p-2 mt-2" id="ref-${record.id}">
|
||||
@ -124,4 +124,4 @@ export class SiteSheet {
|
||||
return ref.match(regex);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user