diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-25 14:55:51 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-25 14:55:51 +0100 |
commit | 1028e47a35a472fc4835f324f3ad195970b45b17 (patch) | |
tree | 09cb4b0c3a018227cfee423037cad86e0497843a /templates | |
parent | ee1285e8fa684c35b62dd32854f66515cd62a269 (diff) |
map: list skipped journeys1.13.7
Diffstat (limited to 'templates')
-rw-r--r-- | templates/history_map.html.ep | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 747912f..c0eea4c 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -29,3 +29,21 @@ </div> </div> %= end + +% if (@{$skipped_journeys // []}) { + <div class="row"> + <div class="col s12"> + <p> + Die folgenden Zugfahrten wurden nicht eingezeichnet: + </p> + <p> + <ul> + % for my $pair (@{$skipped_journeys}) { + % my ($journey, $reason) = @{$pair}; + <li><a href="/journey/<%= $journey->{id} %>"><%= $journey->{type} %> <%= $journey->{no} %> <%= $journey->{from_name} %> → <%= $journey->{to_name} %></a>: <%= $reason %></li> + % } + </ul> + </p> + </div> + </div> +% } |