summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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}) {