display less text when uploads are disabled for layout reasons

This commit is contained in:
blek 2023-10-21 13:57:25 +10:00
parent 93d94b8431
commit 8220aa4c46
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 4 additions and 4 deletions

View File

@ -90,16 +90,16 @@
Error Error
</h1> </h1>
<p class="alert-text"> <p class="alert-text">
Uploads are temporarily disabled by the administrator Uploads are temporarily disabled
{%- if let Some(disable_reason) = conf.files.upload_disable_reason -%} {%- if let Some(disable_reason) = conf.files.upload_disable_reason -%}
{{- " " -}} because of the following reason: {{- " " -}} for the following reason:
<span style="display:block;font-family:monospace;padding:12px 0"> <span style="display:block;font-family:monospace;padding-top:12px">
{{- disable_reason -}} {{- disable_reason -}}
</span> </span>
{%- else -%} {%- else -%}
. .
{%- endif -%} {%- endif -%}
<span style="display:block"> <span style="display:block;padding-top:12px">
Check again in a few minutes. Check again in a few minutes.
</span> </span>
</p> </p>