From 9ad421173c8885a9d14d64702ae2dcdb1a7e95b7 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Mon, 2 Aug 2021 19:16:54 -0400 Subject: [PATCH] Add settings controls --- Pages/Index.cshtml | 5 +++-- Pages/Settings.cshtml | 35 ++++++++++++++++++++++++++++++++++- Pages/Settings.cshtml.cs | 14 +++++++++++--- 3 files changed, 48 insertions(+), 6 deletions(-) diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index 7c10d38..3e1f02f 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -35,6 +35,8 @@ + @if (Model.posting != null) + {
@@ -51,8 +53,7 @@
- @if (Model.posting != null) - { + @if (Model.posting.DateDue < new DateTime()) {