add optional announcements to travelynx.conf
This commit is contained in:
parent
402fcc4d6f
commit
36eee924aa
2 changed files with 13 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
# 'localhost'. You can validate via 'perl -c travelynx.conf'.
|
# 'localhost'. You can validate via 'perl -c travelynx.conf'.
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# Optional announcement, e.g. to indicate maintenance or backend issues.
|
||||||
|
#announcement => 'The IRIS backend is flaky. Real-time data may not be available.',
|
||||||
|
|
||||||
# Base URL of this travelynx installation, e.g. "https://travelynx.de" for
|
# Base URL of this travelynx installation, e.g. "https://travelynx.de" for
|
||||||
# travelynx.de. Used to identify this travelynx instance when performing API
|
# travelynx.de. Used to identify this travelynx instance when performing API
|
||||||
# requests (so API providers know whom to contact case of issues) and for
|
# requests (so API providers know whom to contact case of issues) and for
|
||||||
|
|
|
@ -117,6 +117,16 @@
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
|
|
||||||
|
% if (app->config->{announcement}) {
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s12 caution-color white-text">
|
||||||
|
%= app->config->{announcement}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
% }
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
% if (is_user_authenticated()) {
|
% if (is_user_authenticated()) {
|
||||||
% my $acc = current_user();
|
% my $acc = current_user();
|
||||||
|
|
Loading…
Reference in a new issue