Add total amount of records to admin page lists (#640)

This commit is contained in:
Leendert de Borst
2025-03-07 18:01:12 +01:00
committed by Leendert de Borst
parent 7e08f64175
commit 919a33defb
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
<PageHeader
BreadcrumbItems="@BreadcrumbItems"
Title="Emails"
Title="@(TotalRecords > 0 ? $"Emails ({TotalRecords:N0})" : "Emails")"
Description="This page gives an overview of recently received mails by this AliasVault server. Note that all email fields except 'To' are encrypted with the public key of the user and cannot be decrypted by the server.">
<CustomActions>
<RefreshButton OnClick="RefreshData" ButtonText="Refresh" />

View File

@@ -7,7 +7,7 @@
<PageHeader
BreadcrumbItems="@BreadcrumbItems"
Title="Auth logs"
Title="@(TotalRecords > 0 ? $"Auth logs ({TotalRecords:N0})" : "Auth logs")"
Description="This page gives an overview of recent auth attempts.">
<CustomActions>
<DeleteButton OnClick="DeleteLogsWithConfirmation" ButtonText="Delete all logs" />

View File

@@ -6,7 +6,7 @@
<PageHeader
BreadcrumbItems="@BreadcrumbItems"
Title="General logs"
Title="@(TotalRecords > 0 ? $"General logs ({TotalRecords:N0})" : "General logs")"
Description="This page gives an overview of recent system logs.">
<CustomActions>
<DeleteButton OnClick="DeleteLogsWithConfirmation" ButtonText="Delete all logs" />

View File

@@ -6,7 +6,7 @@
<PageHeader
BreadcrumbItems="@BreadcrumbItems"
Title="Users"
Title="@(TotalRecords > 0 ? $"Users ({TotalRecords:N0})" : "Users")"
Description="This page gives an overview of all registered users and the associated vaults.">
<CustomActions>
<RefreshButton OnClick="RefreshData" ButtonText="Refresh" />