<% using (Html.BeginForm()) { %>
<%=Html.ValidationSummary() %>
<%=Html.EditorForModel() %>
-
- <%foreach (var editor in Model.ItemView.Editors) { %>
- <%-- TODO: why is Body in editors? --%>
- <%-- TODO: because any content type using the body editor doesn't need
- to re-implement the rich editor, media extensions, format filter chain selection, etc --%>
- <% if (!String.Equals(editor.Prefix, "Body")) { %>
- <%=Html.EditorFor(m=>editor.Model, editor.TemplateName, editor.Prefix) %>
- <% } %>
- <%} %>
<% } %>
<% Html.Include("AdminFoot"); %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Views/BlogPost/EditorTemplates/BlogPostEditViewModel.ascx b/src/Orchard.Web/Packages/Orchard.Blogs/Views/BlogPost/EditorTemplates/BlogPostEditViewModel.ascx
index 58d3fbcb1..b2c5bc833 100644
--- a/src/Orchard.Web/Packages/Orchard.Blogs/Views/BlogPost/EditorTemplates/BlogPostEditViewModel.ascx
+++ b/src/Orchard.Web/Packages/Orchard.Blogs/Views/BlogPost/EditorTemplates/BlogPostEditViewModel.ascx
@@ -3,11 +3,11 @@
<%@ Import Namespace="Orchard.Blogs.ViewModels"%>
-
Blog Post Content
+
Content
<%-- todo: (heskew) thin out the fieldsets if they become overkill --%>
+ <% foreach (var e in Model.ItemView.Editors) {
+ var editor = e;
+ // TODO: why is Body in editors?
+ // TODO: because any content type using the body editor doesn't need
+ // to re-implement the rich editor, media extensions, format filter chain selection, etc
+ if (!String.Equals(editor.Prefix, "Body")) {
+ %><%=Html.EditorFor(m=>editor.Model, editor.TemplateName, editor.Prefix) %>
+ <% }
+ } %>
+<%--
+todo: (heskew) would be better to have a ↑ checkbox ↑ instead of a ↓ button ↓
+
+ <% if (Model.Closed) {
+ %><%=Html.ActionLink("Enable Comments", "Enable", new { commentedItemId = Model.Closed }, new { @class = "button" })%><%
+ } else {
+ %><%=Html.ActionLink("Close Comments", "Close", new { commentedItemId = Model.Closed }, new { @class = "button remove" })%><%
+ } %>
+
+--%><%--
+todo: (heskew) shouldn't have comments when editing a content item. besides being noisy/distracting it throw other issues like paging into the mix
+
<% foreach (var comment in Model.Comments) {%>
- <%= comment.CommentText %>
+
<%= comment.CommentText %>
+ Posted by <%= comment.UserName %> on <%= comment.CommentDate.ToLocalTime() %>
+ <%=Html.ActionLink("Delete", "Delete", new { Area = "Orchard.Comments", Controller = "Admin", id = comment.Id, returnUrl = Context.Request.Url }, new { @class = "ibutton remove" })%>
-
- Posted by <%= comment.UserName %> on <%= comment.CommentDate.ToLocalTime() %>
-
-
- <%=Html.ActionLink("Delete", "Delete", new {Area="Orchard.Comments", Controller="Admin", id = comment.Id, returnUrl = Context.Request.Url}) %>
-
-
<% } %>
-
-<% if (Model.Closed) { %>
-
Comments have been disabled for this content.
-<%= Html.ActionLink("Enable Comments for this content", "Enable", new { Area="Orchard.Comments", Controller="Admin", returnUrl = Context.Request.Url, commentedItemId = Model.ContentItem.Id })%>
-<% } 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}) %>
+--%>
<% } %>
\ No newline at end of file
diff --git a/src/Orchard.Web/Packages/Orchard.DevTools/Views/Models/DisplayTemplates/ShowDebugLink.ascx b/src/Orchard.Web/Packages/Orchard.DevTools/Views/Models/DisplayTemplates/ShowDebugLink.ascx
index ec7822ff0..99f3b4b0c 100644
--- a/src/Orchard.Web/Packages/Orchard.DevTools/Views/Models/DisplayTemplates/ShowDebugLink.ascx
+++ b/src/Orchard.Web/Packages/Orchard.DevTools/Views/Models/DisplayTemplates/ShowDebugLink.ascx
@@ -1,5 +1,5 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="Orchard.DevTools.Models" %>
-
+
DevTools: showing
<%= Html.ActionLink(Model.ContentItem.ContentType + " #" + Model.ContentItem.Id, "details", "content", new { area = "Orchard.DevTools", Model.ContentItem.Id }, new { })%>
\ No newline at end of file
+
+
+ t.TagName).ToArray()) %>" />
+
+<%--<% Html.BeginForm("Update", "Home", new { area = "Orchard.Tags" }); %>--%>
\ No newline at end of file
diff --git a/src/Orchard.Web/Packages/Orchard.Users/AdminMenu.cs b/src/Orchard.Web/Packages/Orchard.Users/AdminMenu.cs
index 8f912554b..0cd0b0209 100644
--- a/src/Orchard.Web/Packages/Orchard.Users/AdminMenu.cs
+++ b/src/Orchard.Web/Packages/Orchard.Users/AdminMenu.cs
@@ -8,7 +8,7 @@ namespace Orchard.Users {
builder.Add("Users", "5",
menu => menu
.Add("Manage Users", "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Users" }))
- .Add("Create a User", "1.1", item => item.Action("Create", "Admin", new { area = "Orchard.Users" })));
+ .Add("Add New User", "1.1", item => item.Action("Create", "Admin", new { area = "Orchard.Users" })));
}
}
}
diff --git a/src/Orchard.Web/Views/Shared/AdminHead.aspx b/src/Orchard.Web/Views/Shared/AdminHead.aspx
index de6ff60ff..d1e981339 100644
--- a/src/Orchard.Web/Views/Shared/AdminHead.aspx
+++ b/src/Orchard.Web/Views/Shared/AdminHead.aspx
@@ -28,7 +28,7 @@ todo: (heskew) rework how/what pages are assembled when we get into theming --%>
theme_advanced_buttons2: "",
theme_advanced_buttons3: ""
});
-
+