mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 02:44:52 +08:00
@@ -71,11 +71,11 @@
|
||||
<input type="hidden" value="@Model.CommentedItemId" name="CommentedItemId" />
|
||||
</td>
|
||||
<td>
|
||||
@if (commentEntry.Comment.Status == CommentStatus.Spam) { @T("Spam"); }
|
||||
else if (commentEntry.Comment.Status == CommentStatus.Pending) { @T("Pending"); }
|
||||
else { @T("Approved"); }
|
||||
@if (commentEntry.Comment.Status == CommentStatus.Spam) { @T("Spam"); }
|
||||
else if (commentEntry.Comment.Status == CommentStatus.Pending) { @T("Pending"); }
|
||||
else { @T("Approved"); }
|
||||
</td>
|
||||
<td>@commentEntry.Comment.UserName</td>
|
||||
<td>@commentEntry.Comment.Author</td>
|
||||
<td>
|
||||
@if (commentEntry.Comment.CommentText != null) {
|
||||
var text = commentEntry.Comment.CommentText.Length > 23 ? commentEntry.Comment.CommentText.Substring(0, 24) : (commentEntry.Comment.CommentText + T(" ..."));
|
||||
|
Reference in New Issue
Block a user