summaryrefslogtreecommitdiff
path: root/templates/_format_train.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_format_train.html.ep')
-rw-r--r--templates/_format_train.html.ep9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/_format_train.html.ep b/templates/_format_train.html.ep
index 5b61682..1d6acaa 100644
--- a/templates/_format_train.html.ep
+++ b/templates/_format_train.html.ep
@@ -1,9 +1,10 @@
% if ($journey->{extra_data}{wagonorder_pride}) {
🏳️‍🌈
% }
+<span class="dep-line <%= $journey->{train_type} // q{} %>">
+ <%= $journey->{train_type} %>
+ <%= $journey->{train_line} // $journey->{train_no}%>
+</span>
% if ($journey->{train_line}) {
- <b><%= $journey->{train_type} %> <%= $journey->{train_line} %></b> <%= $journey->{train_no} %>
-% }
-% else {
- <%= $journey->{train_type} %> <%= $journey->{train_no} %>
+ <%= $journey->{train_no} %>
% }