From 96439c9b1abb8c489fd9b8f8ea2b3894259f097e Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 23 Jul 2022 11:09:23 -0500 Subject: [PATCH] improve audit log display on mobile --- WebfrontCore/Views/Admin/_ListAuditLog.cshtml | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/WebfrontCore/Views/Admin/_ListAuditLog.cshtml b/WebfrontCore/Views/Admin/_ListAuditLog.cshtml index b52bdc53..4a932ff3 100644 --- a/WebfrontCore/Views/Admin/_ListAuditLog.cshtml +++ b/WebfrontCore/Views/Admin/_ListAuditLog.cshtml @@ -30,7 +30,7 @@ @info.Data - + @info.NewValue @@ -40,32 +40,36 @@ - +
@loc["WEBFRONT_PENALTY_TEMPLATE_TYPE"]
@loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"]
@loc["WEBFRONT_PENALTY_TEMPLATE_NAME"]
@loc["WEBFRONT_ADMIN_AUDIT_LOG_INFO"]
@loc["WEBFRONT_ADMIN_AUDIT_LOG_CURRENT"]
-
@loc["WEBFRONT_ADMIN_AUDIT_LOG_TIME"]
+
@loc["WEBFRONT_ADMIN_AUDIT_LOG_TIME"]
- +
@info.Action
- - - +
+ + + +
@if (info.TargetId != null) { - - - +
+ + + +
} else {
}
@info.Data
-
@info.NewValue
-
@info.When
+
@info.NewValue
+
@info.When.ToStandardFormat()
}