summaryrefslogtreecommitdiff
path: root/templates/_history_trains.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/_history_trains.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/_history_trains.html.ep')
-rw-r--r--templates/_history_trains.html.ep6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/_history_trains.html.ep b/templates/_history_trains.html.ep
index 6bcd8cd..51f776c 100644
--- a/templates/_history_trains.html.ep
+++ b/templates/_history_trains.html.ep
@@ -17,7 +17,11 @@
% }
<tr>
<td><%= $travel->{sched_departure}->strftime($date_format) %></td>
- <td><a href="<%= $detail_link %>"><%= $travel->{type} %> <%= $travel->{line} // $travel->{no} %></a></td>
+ <td><a href="<%= $detail_link %>">
+ <span class="dep-line <%= $travel->{type} // q{} %>">
+ <%= $travel->{type} %> <%= $travel->{line} // $travel->{no}%>
+ </span>
+ </a></td>
<td>
<a href="<%= $detail_link %>" class="unmarked">
% if (param('cancelled')) {