Minor cleanups

This commit is contained in:
Pieter Vander Vennet 2020-07-23 12:03:44 +02:00
parent 604daf7600
commit 209652b45d
2 changed files with 4 additions and 4 deletions

View file

@ -73,7 +73,7 @@ export class Bookcases extends LayerDefinition {
new TagRenderingOptions({ new TagRenderingOptions({
question: "Wie (welke organisatie) beheert dit boekenruilkastje?", question: "Wie (welke organisatie) beheert dit boekenruilkastje?",
freeform: { freeform: {
key: "opeartor", key: "operator",
renderTemplate: "Dit boekenruilkastje wordt beheerd door {operator}", renderTemplate: "Dit boekenruilkastje wordt beheerd door {operator}",
template: "Dit boekenruilkastje wordt beheerd door $$$" template: "Dit boekenruilkastje wordt beheerd door $$$"
} }
@ -121,7 +121,8 @@ export class Bookcases extends LayerDefinition {
renderTemplate: "Gekend als {brand} <b>{ref}</b>" renderTemplate: "Gekend als {brand} <b>{ref}</b>"
}, },
mappings: [ mappings: [
{k: new And([new Tag("brand",""), new Tag("nobrand","yes"), new Tag("ref", "")]), txt: "Maakt geen deel uit van een groter netwerk"} {k: new And([new Tag("brand",""), new Tag("nobrand","yes"), new Tag("ref", "")]),
txt: "Maakt geen deel uit van een netwerk"}
] ]
}).OnlyShowIf(new Tag("brand","*")), }).OnlyShowIf(new Tag("brand","*")),

View file

@ -17,14 +17,13 @@ export default class Cyclofix extends Layout {
16, 16,
50.8465573, 50.8465573,
4.3516970, 4.3516970,
/* Translations.t.cyclofix.title/*/
new Combine([ new Combine([
"<h3>", "<h3>",
Translations.t.cyclofix.title, Translations.t.cyclofix.title,
"</h3><br/><p>", "</h3><br/><p>",
Translations.t.cyclofix.description, Translations.t.cyclofix.description,
"</p>" "</p>"
])//*/ ])
); );
} }
} }