diff --git a/OurUmbraco.Client/src/scss/elements/_utilities.scss b/OurUmbraco.Client/src/scss/elements/_utilities.scss index cd9128e2..59053ac6 100644 --- a/OurUmbraco.Client/src/scss/elements/_utilities.scss +++ b/OurUmbraco.Client/src/scss/elements/_utilities.scss @@ -53,6 +53,14 @@ } } + .utility-actions.thread-bottom { + @media (min-width: $md) { + margin: 0 0 0 auto; + + } + } + + .container { padding: 0; diff --git a/OurUmbraco.Site/Views/MacroPartials/Forum/Thread.cshtml b/OurUmbraco.Site/Views/MacroPartials/Forum/Thread.cshtml index 53d2af83..264989ca 100644 --- a/OurUmbraco.Site/Views/MacroPartials/Forum/Thread.cshtml +++ b/OurUmbraco.Site/Views/MacroPartials/Forum/Thread.cshtml @@ -67,7 +67,7 @@ { var comm = comment; - Html.RenderPartial("forum/comment", comm, new ViewDataDictionary {{"level", 1}, {"answer", topic.Answer}}); + Html.RenderPartial("forum/comment", comm, new ViewDataDictionary { { "level", 1 }, { "answer", topic.Answer } }); if (comm.HasChildren) { @@ -75,7 +75,7 @@ foreach (var child in children.Where(c => c.ParentCommentId == comm.Id)) { - Html.RenderPartial("forum/comment", child, new ViewDataDictionary {{"level", 2}, {"answer", topic.Answer}}); + Html.RenderPartial("forum/comment", child, new ViewDataDictionary { { "level", 2 }, { "answer", topic.Answer } }); } } } @@ -85,6 +85,48 @@ { if (Model.Content.NewTopicsAllowed()) { +
+
+ + @if (Members.IsLoggedIn()) + { + var mem = Members.GetCurrentMember(); + var subscribed = false; + if (mem != null) + { + subscribed = NotificationsWeb.Library.Utils.IsSubscribedToForumTopic(topic.Id, mem.Id); + } + + if (Members.IsAdmin()) + { + + Delete thread + + } + + if (subscribed) + { + + } + else + { + + } + } + + @if (topic.Answer > 0) + { + + Go to solution + + } + +
+
Reply to topic
@@ -98,12 +140,12 @@ } else { -
- Please Sign in or register to post replies -
- } -} -else +
+ Please Sign in or register to post replies +
+ } +} +else { -

This topic no longer exists.

+

This topic no longer exists.

} \ No newline at end of file