diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-12-13 22:49:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-12-13 22:49:35 +0100 |
commit | 7b1c49622af1ff3598d606802025fad605508f04 (patch) | |
tree | 6ce209e73db7a83efd801a33670dc5291fbb6c66 /cgi/templates/clean.html.ep | |
parent | 4affeeffb8f9b84f905475982ab93ba785ee7016 (diff) |
clean.html.ep should be smartphone-compatible now
Diffstat (limited to 'cgi/templates/clean.html.ep')
-rw-r--r-- | cgi/templates/clean.html.ep | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi/templates/clean.html.ep b/cgi/templates/clean.html.ep index 635c3ad..37ab205 100644 --- a/cgi/templates/clean.html.ep +++ b/cgi/templates/clean.html.ep @@ -10,6 +10,12 @@ <span class="line"> %= $departure->{train} </span> +% if ($departure->{info} and length $departure->{info}) { +<span class="info"> +%= $departure->{info} +</span> +% } +% else { <span class="route"> % my $via_max = @{$departure->{via}}; % my $via_cur = 0; @@ -18,6 +24,7 @@ <%= $stop %><% if ($via_cur < $via_max) { %> - <% } %> % } </span> +% } <span class="dest"> %= $departure->{destination} </span> |