From 8220aa4c460f91a99f8a5885e7c08fc058f04b9e Mon Sep 17 00:00:00 2001 From: blek Date: Sat, 21 Oct 2023 13:57:25 +1000 Subject: [PATCH] display less text when uploads are disabled for layout reasons --- filed/templates/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/filed/templates/index.html b/filed/templates/index.html index 7c35005..0d886c6 100644 --- a/filed/templates/index.html +++ b/filed/templates/index.html @@ -90,16 +90,16 @@ Error

- Uploads are temporarily disabled by the administrator + Uploads are temporarily disabled {%- if let Some(disable_reason) = conf.files.upload_disable_reason -%} - {{- " " -}} because of the following reason: - + {{- " " -}} for the following reason: + {{- disable_reason -}} {%- else -%} . {%- endif -%} - + Check again in a few minutes.