From 82c0215b9743c8cc7e90a054b6cff9fb8f6cebe7 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 31 May 2017 18:41:36 -0400 Subject: User-submitted quotes. --- Project-Unite/Views/Quotes/ReviewAll.cshtml | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Project-Unite/Views/Quotes/ReviewAll.cshtml (limited to 'Project-Unite/Views/Quotes/ReviewAll.cshtml') diff --git a/Project-Unite/Views/Quotes/ReviewAll.cshtml b/Project-Unite/Views/Quotes/ReviewAll.cshtml new file mode 100644 index 0000000..bee7f37 --- /dev/null +++ b/Project-Unite/Views/Quotes/ReviewAll.cshtml @@ -0,0 +1,36 @@ +@model IEnumerable +@{ + ViewBag.Title = "Review quotes"; +} + +

Review Quotes

+ +

Below is a list of all quotes that need moderator review.

+ +@if(Model.Count() == 0) +{ +

No quotes to show!

+} +else +{ + foreach (var quote in Model) + { +
+
+

+ @if (!String.IsNullOrWhiteSpace(quote.AuthorAvatar)) + { + + } + @quote.AuthorId

+ +

@Html.Markdown(quote.Body)

+ +

- @quote.Year

+ + Approve + Deny & delete +
+
+ } +} \ No newline at end of file -- cgit v1.2.3