summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/clean.html.ep8
-rw-r--r--templates/layouts/default.html.ep8
2 files changed, 16 insertions, 0 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 61f6db9..3f6bcd0 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -50,6 +50,14 @@
%= $departure->{train}
% }
</div>
+% if (param('detailed')) {
+% if ($departure->{train_line} and $departure->{train_no}
+% and $departure->{train_line} ne $departure->{train_no}) {
+ <div class="extra_trainno">
+%= $departure->{train_no}
+ </div>
+% }
+% }
% if (@{$departure->{replaced_by}} or @{$departure->{replacement_for}}) {
<div class="lineinfo">
% if (@{$departure->{replaced_by}}) {
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 7278686..0f4d9e9 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -141,6 +141,14 @@ Bitte eine Station aus der Liste auswählen</div>
</div>
<div class="field">
<div class="desc">
+ %= check_box 'detailed' => 1, id => 'id_detailed'
+ <label for="id_detailed">
+ Detaillierte Übersicht
+ </label>
+ </div>
+ </div>
+ <div class="field">
+ <div class="desc">
%= check_box 'show_realtime' => 1, id => 'id_show_realtime'
<label for="id_show_realtime">
Erwartete Zeiten statt Fahrplandaten