mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 03:58:13 +08:00
- Blogs: Create needed the tag aspect, also removing forms from individual aspect editors.
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043112
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<HasComments>" %>
|
||||
<%@ Import Namespace="Orchard.Comments.Models"%>
|
||||
<% if (Model.ContentItem.Id != 0) { %>
|
||||
<h3><%= Model.Comments.Count() %> Comments</h3>
|
||||
<ol>
|
||||
<% foreach (var comment in Model.Comments) {%>
|
||||
@@ -21,3 +22,4 @@
|
||||
<% } else { %>
|
||||
<%= Html.ActionLink("Close Comments for this content", "Close", new { Area="Orchard.Comments", Controller="Admin", returnUrl = Context.Request.Url, commentedItemId = Model.ContentItem.Id })%>
|
||||
<% } %> | <%=Html.ActionLink("Go to comments management for this post", "Details", new {Area="Orchard.Comments", Controller="Admin", id = Model.ContentItem.Id, returnUrl = Context.Request.Url}) %>
|
||||
<% } %>
|
||||
Reference in New Issue
Block a user