2020-07-16 15:29:50 +02:00
|
|
|
import {TagRenderingOptions} from "../../TagRendering";
|
|
|
|
import {Tag} from "../../../Logic/TagsFilter";
|
2020-07-20 23:43:42 +02:00
|
|
|
import Translations from "../../../UI/i18n/Translations";
|
2020-07-16 15:29:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
export default class BikeStationOperator extends TagRenderingOptions {
|
|
|
|
constructor() {
|
2020-07-20 23:43:42 +02:00
|
|
|
const to = Translations.t.cylofix.station.operator
|
2020-07-16 15:29:50 +02:00
|
|
|
super({
|
|
|
|
priority: 15,
|
2020-07-20 23:43:42 +02:00
|
|
|
question: to.question.Render(),
|
2020-07-16 15:29:50 +02:00
|
|
|
mappings: [
|
|
|
|
{k: new Tag("operator", "KU Leuven"), txt: "KU Leuven"},
|
|
|
|
{k: new Tag("operator", "Stad Halle"), txt: "Stad Halle"},
|
|
|
|
{k: new Tag("operator", "Saint Gilles - Sint Gillis"), txt: "Saint Gilles - Sint Gillis"},
|
|
|
|
{k: new Tag("operator", "Jette"), txt: "Jette"},
|
2020-07-20 23:43:42 +02:00
|
|
|
{k: new Tag("operator", "private"), txt: to.private.Render()}
|
|
|
|
],
|
|
|
|
freeform: {
|
|
|
|
key: "operator",
|
|
|
|
template: to.template.txt,
|
|
|
|
renderTemplate: to.render.txt,
|
|
|
|
placeholder: "organisatie"
|
|
|
|
}
|
2020-07-16 15:29:50 +02:00
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|