diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-01-02 13:21:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-01-02 13:21:41 +0100 |
commit | 16348510abf12497c6338770963f6dcb4216ead8 (patch) | |
tree | 3a063ced90774fe834a3ca31c15ff10ac6e21858 /templates/wagenreihung.html.ep | |
parent | 415a3d07926af9f6d5af725cdf1e61445ca9f482 (diff) |
add first/second class indicators
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r-- | templates/wagenreihung.html.ep | 6 |
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) { ♿ % } |