- Based on UI review, adding a few elements to easily edit/delete single comments to the comments admin, as well as marking as spam/approving radio buttons to the comment edit view.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042237
This commit is contained in:
suhacan
2009-11-25 22:05:44 +00:00
parent 98b23af3af
commit 2e9f4b7613
6 changed files with 47 additions and 7 deletions

View File

@@ -41,6 +41,7 @@
<col id="Col4" />
<col id="Col5" />
<col id="Col6" />
<col id="Col7" />
</colgroup>
<thead>
<tr>
@@ -50,6 +51,7 @@
<th scope="col">Comment</th>
<th scope="col">Date</th>
<th scope="col">Commented On</th>
<th scope="col"></th>
</tr>
</thead>
<%
@@ -71,7 +73,13 @@
<% } %>
</td>
<td><%= commentEntry.Comment.CommentDate %></td>
<td><%=Html.ActionLink(commentEntry.CommentedOn, "Details", new {id = commentEntry.Comment.CommentedOn}, new {@class="floatRight topSpacer"}) %></td>
<td>
<%=Html.ActionLink(commentEntry.CommentedOn, "Details", new {id = commentEntry.Comment.CommentedOn}) %>
</td>
<td>
<%=Html.ActionLink("Edit", "Edit", new {commentEntry.Comment.Id}) %> |
<%=Html.ActionLink("Delete", "Delete", new {id = commentEntry.Comment.Id, redirectToAction = "Index"}) %>
</td>
</tr>
<%
commentIndex++;