2020-07-29 13:16:21 +02:00
|
|
|
import { Tag } from "../../../Logic/TagsFilter";
|
|
|
|
import Translations from "../../../UI/i18n/Translations";
|
2020-07-31 17:38:03 +02:00
|
|
|
import {TagRenderingOptions} from "../../TagRenderingOptions";
|
2020-07-29 13:16:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
export default class ParkingAccessCargo extends TagRenderingOptions {
|
|
|
|
constructor() {
|
|
|
|
const key = "cargo_bike"
|
|
|
|
const to = Translations.t.cyclofix.parking.access_cargo
|
|
|
|
super({
|
|
|
|
priority: 15,
|
|
|
|
question: to.question.Render(),
|
|
|
|
mappings: [
|
|
|
|
{k: new Tag(key, "yes"), txt: to.yes},
|
|
|
|
{k: new Tag(key, "designated"), txt: to.designated},
|
|
|
|
{k: new Tag(key, "no"), txt: to.no}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|