From 16074f05581f492e2a30fc2dfb6d09e095f5cb01 Mon Sep 17 00:00:00 2001 From: Rostislav Raykov Date: Tue, 29 Oct 2024 21:18:31 +0200 Subject: [PATCH] removed the Renewed word if the file is marked for keeping indefinitely --- src/main/resources/templates/fileView.html | 5 ++--- src/main/resources/templates/listFiles.html | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/resources/templates/fileView.html b/src/main/resources/templates/fileView.html index e1048ea..3bc9374 100644 --- a/src/main/resources/templates/fileView.html +++ b/src/main/resources/templates/fileView.html @@ -74,9 +74,8 @@
-
- Uploaded/Renewed - At:
+

diff --git a/src/main/resources/templates/listFiles.html b/src/main/resources/templates/listFiles.html index 8224d70..ae42a26 100644 --- a/src/main/resources/templates/listFiles.html +++ b/src/main/resources/templates/listFiles.html @@ -97,7 +97,7 @@ Password Protected

+ th:text="${file.keepIndefinitely} ? 'Uploaded: ' + ${#temporals.format(file.uploadDate, 'dd.MM.yyyy')} : 'Uploaded/Renewed: ' + ${#temporals.format(file.uploadDate, 'dd.MM.yyyy')}">