summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clean.html.ep')
-rw-r--r--templates/clean.html.ep13
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 3f6bcd0..e9cf1b7 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -49,15 +49,12 @@
% else {
%= $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->{train_line} and $departure->{train_no}
+% and $departure->{train_line} ne $departure->{train_no}
+% and param('detailed')) {
+ <div class="trainno_sub"><%= $departure->{train_no} %></div>
% }
+ </div>
% if (@{$departure->{replaced_by}} or @{$departure->{replacement_for}}) {
<div class="lineinfo">
% if (@{$departure->{replaced_by}}) {