From 3cf79e6ec82361fc617e437373354ce2feda0c66 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 17 May 2017 15:40:46 -0400 Subject: [PATCH] Add Back and Reply to viewtopic --- Project-Unite/Views/Forum/ViewTopic.cshtml | 19 ++++++++++++++ Project-Unite/Views/Shared/_Layout.cshtml | 30 +++------------------- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/Project-Unite/Views/Forum/ViewTopic.cshtml b/Project-Unite/Views/Forum/ViewTopic.cshtml index 35607e0..a8f5fb8 100644 --- a/Project-Unite/Views/Forum/ViewTopic.cshtml +++ b/Project-Unite/Views/Forum/ViewTopic.cshtml @@ -5,6 +5,25 @@ ViewBag.Title = Model.Subject; } + + + @if(Model.IsUnlisted == true) {
diff --git a/Project-Unite/Views/Shared/_Layout.cshtml b/Project-Unite/Views/Shared/_Layout.cshtml index cbc938f..0e96b54 100644 --- a/Project-Unite/Views/Shared/_Layout.cshtml +++ b/Project-Unite/Views/Shared/_Layout.cshtml @@ -21,32 +21,7 @@ } @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") - - @RenderSection("scripts", required: false) - - - @ViewBag.Title • ShiftOS @Styles.Render("~/Content/css") @Styles.Render("~/Content/bootstrap-theme.css") @@ -189,7 +164,10 @@ - +