Commit 2f387779 authored by Luc Didry's avatar Luc Didry
Browse files

Add broadcast message ability

parent 9dfd0907
......@@ -33,6 +33,11 @@
# optional, default is 32
#token_length => 32,
# broadcast_message which will displayed on all pages of Lutim (but no in json response)
# optional, no default
#broadcast_message => 'Maintenance',
# default time limit for files
# valid values are 0, 1, 7, 30 and 365
# optional, default is 0 (no limit)
......
......@@ -6,6 +6,13 @@
% );
<div class="inner cover">
<div class="form-group row">
% if (defined(config('broadcast_message'))) {
<div class="col-sm-12 col-xs-12">
<div class="alert alert-info">
<strong><%= config('broadcast_message') %></strong>
</div>
</div>
% }
<div class="col-sm-6 col-xs-12">
<select id="delete-day" class="form-control">
% for my $delay (qw/0 1 7 30 365/) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment