Unverified Commit fe0dbf75 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

wagon order: indicate closed wagons

parent 8bbe6989
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ requires 'Mojolicious::Plugin::OAuth2';
requires 'Mojo::Pg';
requires 'Text::CSV';
requires 'Text::Markdown';
requires 'Travel::Status::DE::DBWagenreihung';
requires 'Travel::Status::DE::DBWagenreihung', '0.12';
requires 'Travel::Status::DE::HAFAS', '>= 5.03';
requires 'Travel::Status::DE::IRIS';
requires 'UUID::Tiny';
+6 −1
Original line number Diff line number Diff line
@@ -84,8 +84,13 @@
								% if (defined $gi and $gi != $wagon->group_index) {

								% }
								% if ($wagon->is_closed) {
									X
								% }
								% else {
									%= $wagon->number || ($wagon->type =~ m{AB} ? '½' : $wagon->type =~ m{A} ? '1.' : $wagon->type =~ m{B} ? '2.' : $wagon->type )
								% }
							% }
							% $gi = $wagon->group_index;
						% }
						%= $direction