summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-09 17:01:50 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-09 17:01:50 +0200
commit03461898e27f0644c78ed973a6cccb0a54b9664e (patch)
tree81f9c7cd29df6f25a4cc6d9373e1636cb9ec24d6 /templates
parent1823c4f669b0faace79bbb3af4fc57e7d5d166ef (diff)
ris backend: add train_type information
Diffstat (limited to 'templates')
-rw-r--r--templates/clean.html.ep4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 69f954f..bc1fc7c 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -45,8 +45,10 @@
% else {
<span class="train-line"><%= $departure->{train_no} // q{???} %></span>
% }
+% if ($departure->{origin}) {
:
-<span class="train-origin"><%= $departure->{origin} // q{???} %></span>
+<span class="train-origin"><%= $departure->{origin} %></span>
+% }
<span class="train-dest"><%= $departure->{destination} // q{???} %></span>
% if ($departure->{is_cancelled}) {