diff options
| -rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 4 | ||||
| -rw-r--r-- | templates/_train_details.html.ep | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 0367655..b951ed8 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -678,7 +678,7 @@ sub render_train {  				dt_now       => DateTime->now( time_zone => 'Europe/Berlin' ),  				station_name => $station_name,  				nav_link => -				  $self->url_with( 'station', station => $station_name ), +				  $self->url_for( 'station', station => $station_name)->query({detailed => $self->param('detailed')}),  			);  		}  	)->wait; @@ -1237,7 +1237,7 @@ sub handle_result {  				  or $template eq 'multi'  			),  			force_mobile => ( $template eq 'app' ), -			nav_link => $self->url_with( 'station', station => $station_name ), +			nav_link => $self->url_for( 'station', station => $station_name)->query({detailed => $self->param('detailed')}),  		);  	}  	return; diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index fc77d27..57a6ca1 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -169,7 +169,7 @@        <ul class="mroute">  %       for my $stop (@{$departure->{route_pre_diff}}) {            <li> -          <a href="<%= url_with('station', station => $stop->{name}) %>" class=" +          <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>" class="  %         if ($stop->{isAdditional}) {              additional-stop  %         } @@ -205,7 +205,7 @@          </li>  %       for my $stop (@{$departure->{route_post_diff}}) {            <li> -          <a href="<%= url_with('station', station => $stop->{name}) %>" class=" +          <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>" class="  %         if ($stop->{isAdditional}) {              additional-stop  %         } | 
