Don't capitalize biblio citations
TODO: refactor bibliography UI logic...
This commit is contained in:
parent
0e979ca5c5
commit
b51d701830
@ -92,10 +92,10 @@ export class Finding {
|
|||||||
if (finding.bibliography.length) {
|
if (finding.bibliography.length) {
|
||||||
finding.bibliography.forEach(record => {
|
finding.bibliography.forEach(record => {
|
||||||
citations += `
|
citations += `
|
||||||
<span class="is-clickable is-capitalized has-text-link"
|
<span class="is-clickable has-text-link"
|
||||||
data-action="click->biblio#open"
|
data-action="click->biblio#open"
|
||||||
id="cit-${record.id}">
|
id="cit-${record.id}">
|
||||||
${record.citation.toLowerCase()}</span>`;
|
${record.citation}</span>`;
|
||||||
|
|
||||||
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||||
|
|
||||||
|
@ -144,10 +144,10 @@ export class NotConserved {
|
|||||||
if (record.bibliography.length) {
|
if (record.bibliography.length) {
|
||||||
record.bibliography.forEach(record => {
|
record.bibliography.forEach(record => {
|
||||||
citations += `
|
citations += `
|
||||||
<span class="is-clickable is-capitalized has-text-link"
|
<span class="is-clickable 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()}</span>`;
|
${record.citation.trim()}</span>`;
|
||||||
|
|
||||||
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||||
|
|
||||||
|
@ -98,10 +98,10 @@ export class Prehistoric {
|
|||||||
if (finding.bibliography.length) {
|
if (finding.bibliography.length) {
|
||||||
finding.bibliography.forEach(record => {
|
finding.bibliography.forEach(record => {
|
||||||
citations += `
|
citations += `
|
||||||
<span class="is-clickable is-capitalized has-text-link"
|
<span class="is-clickable has-text-link"
|
||||||
data-action="click->biblio#open"
|
data-action="click->biblio#open"
|
||||||
id="cit-${record.id}">
|
id="cit-${record.id}">
|
||||||
${record.citation.toLowerCase()}</span>`;
|
${record.citation}</span>`;
|
||||||
|
|
||||||
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||||
|
|
||||||
|
@ -102,10 +102,10 @@ export class SiteSheet {
|
|||||||
if (this._siteData.bibliography.length) {
|
if (this._siteData.bibliography.length) {
|
||||||
this._siteData.bibliography.forEach(record => {
|
this._siteData.bibliography.forEach(record => {
|
||||||
citations += `
|
citations += `
|
||||||
<span class="is-clickable is-capitalized has-text-link"
|
<span class="is-clickable 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()}</span>`;
|
${record.citation.trim()}</span>`;
|
||||||
|
|
||||||
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
citations += record.pages?.length ? `, ${record.pages};` : ';';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user