mirror of
https://github.com/RoastSlav/quickdrop.git
synced 2025-12-30 19:20:14 -06:00
removed the Renewed word if the file is marked for keeping indefinitely
This commit is contained in:
@@ -74,9 +74,8 @@
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center border-top pt-3">
|
||||
<h5 class="card-title mb-0">
|
||||
Uploaded/Renewed
|
||||
At:</h5>
|
||||
<h5 class="card-title mb-0"
|
||||
th:text="${file.keepIndefinitely} ? 'Uploaded At:' : 'Uploaded/Renewed At:'"></h5>
|
||||
<p class="card-text mb-0"
|
||||
th:text="${#temporals.format(file.uploadDate, 'dd.MM.yyyy')}"></p>
|
||||
</div>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
Password
|
||||
Protected</p>
|
||||
<p class="card-text border-top pt-3"
|
||||
th:text="'Uploaded/Renewed: ' + ${#temporals.format(file.uploadDate, 'dd.MM.yyyy')}"></p>
|
||||
th:text="${file.keepIndefinitely} ? 'Uploaded: ' + ${#temporals.format(file.uploadDate, 'dd.MM.yyyy')} : 'Uploaded/Renewed: ' + ${#temporals.format(file.uploadDate, 'dd.MM.yyyy')}"></p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<a class="btn btn-primary w-100"
|
||||
|
||||
Reference in New Issue
Block a user