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

EFA occupancy: Add "FULL" / 4

parent 974a5beb
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -187,7 +187,9 @@ sub startup {
			my ( $self, $occupancy ) = @_;

			my @symbols
			  = (qw(help_outline person_outline people priority_high));
			  = (
				qw(help_outline person_outline people priority_high not_interested)
			  );
			my $text = 'Auslastung unbekannt';

			if ( $occupancy eq 'MANY_SEATS' ) {
@@ -199,7 +201,13 @@ sub startup {
			elsif ( $occupancy eq 'STANDING_ONLY' ) {
				$occupancy = 3;
			}
			elsif ( $occupancy eq 'FULL' ) {
				$occupancy = 4;
			}

			if ( $occupancy > 3 ) {
				$text = 'Voraussichtlich überfüllt';
			}
			if ( $occupancy > 2 ) {
				$text = 'Sehr hohe Auslastung erwartet';
			}