fix issues with login

This commit is contained in:
2025-05-26 21:27:29 +02:00
parent 8e55893abb
commit c00fe16b94
2 changed files with 4 additions and 3 deletions

View File

@@ -12,10 +12,10 @@
{{ header(
title="Trash",
description="View and manage deleted files. Files in trash will be permanently deleted after 30 days.",
button_text="Empty Trash",
button_url="#",
button_text="Empty Trash" if current_user.is_admin else "",
button_url="#" if current_user.is_admin else "",
icon="fa-trash",
button_class="btn-danger",
button_class="btn-danger" if current_user.is_admin else "",
button_icon=""
) }}