Parse markers for other record types
This commit is contained in:
@@ -20,6 +20,7 @@ export class SiteSheet {
|
||||
* @returns {string} HTML
|
||||
*/
|
||||
render() {
|
||||
const desc = Utils.parseMarkers(this._siteData.description);
|
||||
return `<div class="container has-bottom-border">
|
||||
<table class="table is-fullwidth is-striped">
|
||||
<tr class="is-link"><th class="is-size-5 has-text-centered" colspan=2>Identificazione</th></tr>
|
||||
@@ -45,7 +46,7 @@ export class SiteSheet {
|
||||
<tr class="is-link"><th class="is-size-5 has-text-centered" colspan=2>Rilievi</th></tr>
|
||||
<tr><td colspan=2>${this._siteData.surveys ?? 'Nessun rilievo'}</td></tr>
|
||||
<tr class="is-link"><th class="is-size-5 has-text-centered" colspan=2>Descrizione</th></tr>
|
||||
<tr><td class="pr-6 pl-6 pt-3" colspan="2">${this._siteData.description}</td></tr>
|
||||
<tr><td class="pr-6 pl-6 pt-3" colspan="2">${desc}</td></tr>
|
||||
<tr class="is-link"><th class="is-size-5 has-text-centered" colspan=2>Bibliografia</th></tr>
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
@@ -61,7 +62,6 @@ export class SiteSheet {
|
||||
}
|
||||
|
||||
renderShort() {
|
||||
// TEST
|
||||
const shortDesc = Utils.parseMarkers(this._siteData.shortDescription);
|
||||
|
||||
return `
|
||||
|
||||
Reference in New Issue
Block a user