Feature/1342 update rejseplans template to remove hack yay #153
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://leantime.itkdev.dk/#/tickets/showTicket/1342
I replaced the current solution ("hack") with a solution where all the ids from the station-array are added to the url for the iframe. this means, that the admin has a multiselect, and the stations the user wants to be displayed can now be displayed. This was made possible because Rejseplanen updated their api.
This works with data from the new api, and data from the old - it does not break anything per se. That being said, when we are removing the existing hack, the current templates will only show a bus/tram in one direction, not both directions. The people with installations this affects will be notified.