forked from MapComplete/MapComplete
		
	
		
			
	
	
		
			20 lines
		
	
	
	
		
			613 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
	
		
			613 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								import {TagRenderingOptions} from "../../TagRendering";
							 | 
						||
| 
								 | 
							
								import {Tag} from "../../../Logic/TagsFilter";
							 | 
						||
| 
								 | 
							
								import Translations from "../../../UI/i18n/Translations";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export default class ShopRental extends TagRenderingOptions {
							 | 
						||
| 
								 | 
							
								    constructor() {
							 | 
						||
| 
								 | 
							
								        const key = 'service:bicycle:rental'
							 | 
						||
| 
								 | 
							
								        const to = Translations.t.cylofix.shop.rental
							 | 
						||
| 
								 | 
							
								        super({
							 | 
						||
| 
								 | 
							
								            priority: 5,
							 | 
						||
| 
								 | 
							
								            question: to.question.Render(),
							 | 
						||
| 
								 | 
							
								            mappings: [
							 | 
						||
| 
								 | 
							
								                {k: new Tag(key, "yes"), txt: to.yes.Render()},
							 | 
						||
| 
								 | 
							
								                {k: new Tag(key, "no"), txt: to.no.Render()},
							 | 
						||
| 
								 | 
							
								            ]
							 | 
						||
| 
								 | 
							
								        });
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |