summaryrefslogtreecommitdiff
path: root/templates/_format_train.html.ep
diff options
context:
space:
mode:
authorCassidy Dingenskirchen <admin@15318.de>2024-01-22 19:13:46 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-29 19:59:09 +0100
commit824fb6973e1e5b85a0a4693f0fd1389a84409421 (patch)
tree00bef8c4809c3b48009591ae9341fa138d2ab223 /templates/_format_train.html.ep
parentdbbeaeea960d21817f35dc9236f7bc80ca8b2411 (diff)
unified train farbtupferl
(cherry picked from commit 20e8fd39851146eb4fb3cc8cb1f7ba7fc4086d8d) Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
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} %>
% }