diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2019-05-16 20:51:31 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-16 20:51:31 +0200 | 
| commit | 3668c69d1fad5855fd9bcd190855a7f6c6ec2195 (patch) | |
| tree | 3524bc78ec78d14cd2a19345996257ec9a837d45 | |
| parent | b85db3a10df32cb2648607c83d37160ac3ee8691 (diff) | |
correctly show departure station in cancelled view
| -rw-r--r-- | templates/_cancelled.html.ep | 6 | ||||
| -rw-r--r-- | templates/landingpage.html.ep | 2 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/templates/_cancelled.html.ep b/templates/_cancelled.html.ep index d35c849..feaca9a 100644 --- a/templates/_cancelled.html.ep +++ b/templates/_cancelled.html.ep @@ -2,8 +2,8 @@  	<div class="card-content">  		<span class="card-title">Zugausfall dokumentieren</span>  		<p>Prinzipiell wärest du nun eingecheckt in -			<%= $status->{train_type} %> <%= $status->{train_no} %> -			ab <%= $status->{station_name} %>, doch dieser Zug fällt aus. +			<%= $journey->{train_type} %> <%= $journey->{train_no} %> +			ab <%= $journey->{dep_name} %>, doch dieser Zug fällt aus.  			</p>  		<p>Falls du den Zugausfall z.B. für ein Fahrgastrechteformular  			dokumentieren möchtest, wähle bitte jetzt deine geplante @@ -13,7 +13,7 @@  		<table>  			<tbody>  				% my $is_after = 0; -				% for my $station (@{$status->{route_after}}) { +				% for my $station (@{$journey->{route_after}}) {  					<tr><td><a class="action-cancelled-to" data-station="<%= $station %>"><%= $station %></a></td></tr>  				% }  			</tbody> diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 725640a..7faa742 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -23,7 +23,7 @@  						<span class="card-title">Zugausfall dokumentieren</span>  						<p>Prinzipiell wärest du nun eingecheckt in  							<%= $status->{train_type} %> <%= $status->{train_no} %> -							ab <%= $status->{station_name} %>, doch dieser Zug fällt aus. +							ab <%= $status->{dep_name} %>, doch dieser Zug fällt aus.  							</p>  						<p>Falls du den Zugausfall z.B. für ein Fahrgastrechteformular  							dokumentieren möchtest, wähle bitte jetzt deine geplante | 
