summaryrefslogtreecommitdiff
path: root/templates/_format_train.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-04 18:21:36 +0200
committerDerf Null <derf@finalrewind.org>2023-06-04 18:21:36 +0200
commit00eb6af1bd21df42fc41195ceed0fad73bbb5f27 (patch)
treeaea171b00a79681e403292b0ad06b01e5d9a21d1 /templates/_format_train.html.ep
parent07fe4ecd1f73e7b111d4cd6f6bb8fd390b5f3151 (diff)
expose follows / social interaction in frontend
Diffstat (limited to 'templates/_format_train.html.ep')
-rw-r--r--templates/_format_train.html.ep9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/_format_train.html.ep b/templates/_format_train.html.ep
new file mode 100644
index 0000000..5b61682
--- /dev/null
+++ b/templates/_format_train.html.ep
@@ -0,0 +1,9 @@
+% if ($journey->{extra_data}{wagonorder_pride}) {
+ 🏳️‍🌈
+% }
+% if ($journey->{train_line}) {
+ <b><%= $journey->{train_type} %> <%= $journey->{train_line} %></b> <%= $journey->{train_no} %>
+% }
+% else {
+ <%= $journey->{train_type} %> <%= $journey->{train_no} %>
+% }