mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing up the existing comment UI in the HasComments editor template
--HG-- branch : dev
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<%@ Import Namespace="Orchard.Comments.Models" %>
|
||||
<fieldset>
|
||||
<%-- todo: (heskew) pull the legend and put the link to the comments elsewhere? --%>
|
||||
<legend><%=_Encoded("Comments")%> <%=Html.CommentSummaryLinks(T, Model.ContentItem, Model.Comments.Count, Model.PendingComments.Count)%></legend>
|
||||
<legend><%=_Encoded("Comments")%><% if (Model.Comments.Count > 0) { %> <span>– <%=Html.CommentSummaryLinks(T, Model.ContentItem, Model.Comments.Count, Model.PendingComments.Count)%></span><% } %></legend>
|
||||
<%--
|
||||
todo: (heskew) can get into a weird state if this is disabled but comments are active so, yeah, comment settings on a content item need to be hashed out
|
||||
<%=Html.EditorFor(m => m.CommentsShown) %>
|
||||
|
@@ -359,6 +359,9 @@ legend {
|
||||
font-size:1.6em;
|
||||
font-weight:bold;
|
||||
}
|
||||
legend span {
|
||||
font-weight:normal;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
color:#4c4c4c;
|
||||
|
Reference in New Issue
Block a user