diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml index 16da950fa..4ea2b05d7 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml @@ -1,4 +1,5 @@ @model CommentsDetailsViewModel +@using Orchard.Comments.Models @using Orchard.Comments.ViewModels; @{ Layout.Title = T("Comments for {0}", Model.DisplayNameForCommentedItem).ToString(); } @@ -69,7 +70,7 @@ - if (commentEntry.Comment.Status == CommentStatus.Pending) { @T("Pending"); } + @if (commentEntry.Comment.Status == CommentStatus.Pending) { @T("Pending"); } else { @T("Approved"); } @commentEntry.Comment.Author