🐛 Fix incorrect HTML in delays.html.ep (related to #207)

This commit is contained in:
Luc Didry 2020-08-17 10:27:08 +02:00
parent f34d99113a
commit 85a02eb34b
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
2 changed files with 29 additions and 24 deletions

View File

@ -1,6 +1,7 @@
Revision history for Lufi Revision history for Lufi
?.??.? ????-??-?? ?.??.? ????-??-??
- 🐛 Fix incorrect HTML in delays.html.ep (#207)
0.05.3 2020-08-17 0.05.3 2020-08-17
- 🐛 Check if provisioning lockfile mod time exists before using it (#208) - 🐛 Check if provisioning lockfile mod time exists before using it (#208)

View File

@ -4,10 +4,14 @@
<div class="modal-content"> <div class="modal-content">
<h1><%= l('Information about delays') %></h1> <h1><%= l('Information about delays') %></h1>
<div class="text-left"> <div class="text-left">
<p><%= l('If you choose a delay, the file will be deleted after that delay.') %><br> <p>
<%= l('If you choose a delay, the file will be deleted after that delay.') %><br>
<%= l('Don\'t worry: if a user begins to download the file before the expiration and the download ends after the expiration, he will be able to get the file.') %> <%= l('Don\'t worry: if a user begins to download the file before the expiration and the download ends after the expiration, he will be able to get the file.') %>
</p>
% if (defined(config('delay_for_size'))) { % if (defined(config('delay_for_size'))) {
<p><%= l('This server sets limitations according to the file size. The expiration delay of your file will be the minimum between what you choose and the following limitations:') %></p> <p>
<%= l('This server sets limitations according to the file size. The expiration delay of your file will be the minimum between what you choose and the following limitations:') %>
</p>
<ul> <ul>
% my $delays = config('delay_for_size'); % my $delays = config('delay_for_size');
% $delays->{0} = max_delay; % $delays->{0} = max_delay;
@ -31,9 +35,9 @@
% $i++; % $i++;
% } % }
</ul> </ul>
</div>
% } % }
</div> </div>
</div>
<div class="modal-footer"> <div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat"><%= l('Close') %></a> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat"><%= l('Close') %></a>
</div> </div>