summaryrefslogtreecommitdiff
path: root/templates/history_map.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/history_map.html.ep')
-rw-r--r--templates/history_map.html.ep18
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>
+% }