Rename 'Deleted' state to 'Archived' and update related logic

Replaced 'Deleted' with 'Archived' across the codebase to better reflect the intent of the state. Adjusted related features, including filters, UI labels, navigation, and permissions. Introduced a 'Recent Activity' filter for improved activity tracking.
This commit is contained in:
Andre Beging
2025-04-02 08:40:38 +02:00
parent b7ba95b716
commit 6389da4bc1
10 changed files with 40 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
@using FoodsharingSiegen.Contracts.Enums
<nav class="d-flex flex-column h-100">
<div class="nav-logo"></div>
<div class="d-flex px-3 justify-content-center text-center font-weight-bold">
@@ -32,13 +33,13 @@
</div>
</div>
@if (CurrentUser.IsAdmin())
@if (CurrentUser.IsInGroup(UserGroup.WelcomeTeam, UserGroup.Ambassador))
{
<hr/>
<div class="nav-item px-3">
<div @onclick="NavLinkClickedAsync">
<NavLink class="nav-link" href="all" Match="NavLinkMatch.All">
<span class="fas fa-user-shield mr-2" aria-hidden="true" style="font-size: 1.4em;"></span> Alle (Admin)
<span class="fas fa-box-archive mr-2" aria-hidden="true" style="font-size: 1.4em;"></span> Alle / Archiv
</NavLink>
</div>
</div>