diff options
author | Derf Null <derf@finalrewind.org> | 2023-03-19 12:20:30 +0100 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-03-19 12:20:30 +0100 |
commit | 36eee924aa923f37619dd6329774ef368ea6ffcf (patch) | |
tree | 2ad2093e13694629cb7a5c7260dc488c01f95e47 /templates/layouts | |
parent | 402fcc4d6fc7cdfa0b547734dd379944d95ff16f (diff) |
add optional announcements to travelynx.conf
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/default.html.ep | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 78330ee..66dc9db 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -117,6 +117,16 @@ </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"> % if (is_user_authenticated()) { % my $acc = current_user(); |