From ab94c51e92e8b5cb29b1c63cdd6781bd5e258b12 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 29 Dec 2017 23:37:58 +0100 Subject: Add detailed mode. For now, it only shows train numbers --- templates/clean.html.ep | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates/clean.html.ep') 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} % } +% if (param('detailed')) { +% if ($departure->{train_line} and $departure->{train_no} +% and $departure->{train_line} ne $departure->{train_no}) { +
+%= $departure->{train_no} +
+% } +% } % if (@{$departure->{replaced_by}} or @{$departure->{replacement_for}}) {
% if (@{$departure->{replaced_by}}) { -- cgit v1.2.3