diff --git a/ProjectLighthouse.Servers.Website/Pages/Partials/ModerationCasePartial.cshtml b/ProjectLighthouse.Servers.Website/Pages/Partials/ModerationCasePartial.cshtml index e047b4cb..60f73d77 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Partials/ModerationCasePartial.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Partials/ModerationCasePartial.cshtml @@ -49,6 +49,10 @@ Case created by @Model.Creator.Username on @TimeZoneInfo.ConvertTime(Model.CreatedAt, timeZoneInfo).ToString("M/d/yyyy @ h:mm tt") + @if (Model.ExpiresAt != null) + { + until @TimeZoneInfo.ConvertTime(Model.ExpiresAt!.Value, timeZoneInfo).ToString("M/d/yyyy @ h:mm tt") + }
} else @@ -56,6 +60,10 @@ Case created by @Model.CreatorUsername on @TimeZoneInfo.ConvertTime(Model.CreatedAt, timeZoneInfo).ToString("M/d/yyyy @ h:mm tt") + @if (Model.ExpiresAt != null) + { + until @TimeZoneInfo.ConvertTime(Model.ExpiresAt!.Value, timeZoneInfo).ToString("M/d/yyyy @ h:mm tt") + }
} @@ -80,7 +88,7 @@

Reason

@if (!string.IsNullOrWhiteSpace(Model.Reason)) { -
@Model.Reason
+
@Model.Reason
} else { @@ -90,7 +98,7 @@

Moderator Notes

@if (!string.IsNullOrWhiteSpace(Model.ModeratorNotes)) { -
@Model.ModeratorNotes
+
@Model.ModeratorNotes
} else {