mirror of
https://github.com/derf/travelynx
synced 2024-11-10 15:04:17 +00:00
departure board: add footer
This commit is contained in:
parent
8198c9fe23
commit
906a8a4f55
2 changed files with 9 additions and 2 deletions
|
@ -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',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -111,3 +111,5 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
%= include '_footer', version => stash('version')
|
||||
|
|
Loading…
Reference in a new issue