diff options
-rw-r--r-- | lib/DBInfoscreen/Controller/Static.pm | 8 | ||||
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 5 | ||||
-rw-r--r-- | templates/layouts/app.html.ep | 6 |
3 files changed, 14 insertions, 5 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 ); } diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 264d798..90a3abf 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -304,7 +304,11 @@ Farbschema: · <a onClick="javascript:setLang('default')">system language</a> --> -</div> +</div> <!-- config --> +</div> <!-- container --> +% } +% if (not stash('hide_footer')) { +<div class="container"> <div class="about"> <a href="_about">DBF</a> v<%= stash('version') // '???' %> · |