departure board: add footer

This commit is contained in:
Daniel Friesel 2022-09-23 19:25:17 +02:00
parent 8198c9fe23
commit 906a8a4f55
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005
2 changed files with 9 additions and 2 deletions

View file

@ -976,7 +976,9 @@ sub station {
station => $status->{station_name},
related_stations => $status->{related_stations},
connections => \@connecting_trains,
title => "travelynx: $status->{station_name}",
title => "travelynx: $status->{station_name}",
version => $self->app->config->{version}
// 'UNKNOWN',
);
}
)->catch(
@ -987,7 +989,9 @@ sub station {
results => \@results,
station => $status->{station_name},
related_stations => $status->{related_stations},
title => "travelynx: $status->{station_name}",
title => "travelynx: $status->{station_name}",
version => $self->app->config->{version}
// 'UNKNOWN',
);
}
)->wait;
@ -1000,6 +1004,7 @@ sub station {
station => $status->{station_name},
related_stations => $status->{related_stations},
title => "travelynx: $status->{station_name}",
version => $self->app->config->{version} // 'UNKNOWN',
);
}
}

View file

@ -111,3 +111,5 @@
</table>
</div>
</div>
%= include '_footer', version => stash('version')