diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-22 07:23:32 +0100 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-22 07:23:32 +0100 | 
| commit | f515762bbcdd3ed916a958d64614d501eadb2f3d (patch) | |
| tree | e9613f6c6e85ab10ee6238e44d6e8ce1675231c3 /lib | |
| parent | 424adc28295d8d086a9a6d30ea2121dd9993e203 (diff) | |
show footer (but not opts) in some places
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/DBInfoscreen/Controller/Static.pm | 8 | ||||
| -rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 5 | 
2 files changed, 9 insertions, 4 deletions
| diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm index 927bf6e..9a57f05 100644 --- a/lib/DBInfoscreen/Controller/Static.pm +++ b/lib/DBInfoscreen/Controller/Static.pm @@ -17,7 +17,8 @@ sub geostop {  	$self->render(  		'geostop',  		with_geostop => 1, -		hide_opts    => 1 +		hide_opts    => 1, +		hide_footer  => 1,  	);  } @@ -27,19 +28,20 @@ sub about {  	$self->render(  		'about',  		hide_opts => 1, +		hide_footer => 1,  	);  }  sub privacy {  	my ($self) = @_; -	$self->render( 'privacy', hide_opts => 1 ); +	$self->render( 'privacy', hide_opts => 1, hide_footer => 1 );  }  sub imprint {  	my ($self) = @_; -	$self->render( 'imprint', hide_opts => 1 ); +	$self->render( 'imprint', hide_opts => 1, hide_footer => 1 );  }  1; diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index a5bc063..1a6d560 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1796,6 +1796,7 @@ sub handle_efa {  			title            => $efa->stop->name // $station_name,  			refresh_interval => $template eq 'app' ? 0 : 120,  			hide_opts        => $hide_opts, +			hide_footer      => $hide_opts,  			hide_low_delay   => $hide_low_delay,  			show_realtime    => $show_realtime,  			load_marquee     => ( @@ -2304,6 +2305,7 @@ sub handle_result {  			title            => $via ? "$station_name → $via" : $station_name,  			refresh_interval => $template eq 'app' ? 0        : 120,  			hide_opts        => $hide_opts, +			hide_footer      => $hide_opts,  			hide_low_delay   => $hide_low_delay,  			show_realtime    => $show_realtime,  			load_marquee     => ( @@ -2524,7 +2526,8 @@ sub backend_list {  	$self->render(  		'select_backend',  		backends  => \@backends, -		hide_opts => 1 +		hide_opts => 1, +		hide_footer => 1  	);  } | 
