mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
fixing detail view for comments.
--HG-- branch : 1.x
This commit is contained in:
@@ -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 @@
|
||||
<input type="hidden" value="@Model.CommentedItemId" name="CommentedItemId" />
|
||||
</td>
|
||||
<td>
|
||||
if (commentEntry.Comment.Status == CommentStatus.Pending) { @T("Pending"); }
|
||||
@if (commentEntry.Comment.Status == CommentStatus.Pending) { @T("Pending"); }
|
||||
else { @T("Approved"); }
|
||||
</td>
|
||||
<td>@commentEntry.Comment.Author</td>
|
||||
|
||||
Reference in New Issue
Block a user