Commit 16348510 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add first/second class indicators

parent 415a3d07
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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) {

%       }