diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-30 10:38:12 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-30 10:38:12 +0200 |
commit | 646a88c72667c8b68432a7316a9c5980f53107b6 (patch) | |
tree | 16e648906cc5d5349013406b95b7c9d006b12204 /templates/_map.html.ep | |
parent | 19d3f4afa84d7c237c8673f6555467ea5f7ae899 (diff) |
Show train route in checked-in view and profile / status card2.11.37
Diffstat (limited to 'templates/_map.html.ep')
-rw-r--r-- | templates/_map.html.ep | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/templates/_map.html.ep b/templates/_map.html.ep index daa16f0..223bd68 100644 --- a/templates/_map.html.ep +++ b/templates/_map.html.ep @@ -1,16 +1,18 @@ -<div class="row"> - <div class="col s12"> - <div id="map" style="height: 70vh;"> +% if (stash('with_map_header') // 1) { + <div class="row"> + <div class="col s12"> + <div id="map" style="height: 70vh;"> + </div> </div> </div> -</div> -<div class="row"> - <div class="col s12"> - <span style="color: #f03;">●</span> Ein-/Ausstiegsstation<br/> - <span style="color: #673ab7;">—</span> Streckenverlauf oder Luftlinie + <div class="row"> + <div class="col s12"> + <span style="color: #f03;">●</span> Ein-/Ausstiegsstation<br/> + <span style="color: #673ab7;">—</span> Streckenverlauf oder Luftlinie + </div> </div> -</div> +% } <script> var map = L.map('map').setView([51.306, 9.712], 6); |