summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-02 13:21:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-02 13:21:41 +0100
commit16348510abf12497c6338770963f6dcb4216ead8 (patch)
tree3a063ced90774fe834a3ca31c15ff10ac6e21858 /templates/wagenreihung.html.ep
parent415a3d07926af9f6d5af725cdf1e61445ca9f482 (diff)
add first/second class indicators
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r--templates/wagenreihung.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index 598a4c7..caea261 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -39,6 +39,12 @@
</div>
<div style="position: absolute; left: 7em; right: 0em;
top: <%= $wagon->{position}{start_percent} %>%; bottom: <%= 100 - $wagon->{position}{end_percent} %>%;">
+% if ($wagon->is_first_class) {
+ <span style="display: inline-block; width: 0.8em; text-align: center; color: #ffffff; background-color: #666666; border: 1px solid #666666;">1</span>
+% }
+% if ($wagon->is_second_class) {
+ <span style="display: inline-block; width: 0.8em; text-align: center; color: #666666; border: 1px solid #666666;">2</span>
+% }
% if ($wagon->has_accessibility) {
% }