Clean up discussion styles to be consistent across views
This commit is contained in:
@@ -1,5 +1,21 @@
|
||||
<div class="discussion-post">
|
||||
<header class="wrapper-post-header">
|
||||
<% if (!readOnly) { %>
|
||||
<div class="post-header-actions post-extended-content">
|
||||
<%=
|
||||
_.template(
|
||||
$('#forum-actions').html())(
|
||||
{
|
||||
contentId: cid,
|
||||
contentType: 'post',
|
||||
primaryActions: ['vote', 'follow'],
|
||||
secondaryActions: ['pin', 'edit', 'delete', 'report', 'close'],
|
||||
readOnly: readOnly
|
||||
}
|
||||
)
|
||||
%>
|
||||
</div>
|
||||
<% } %>
|
||||
<div class="post-header-content">
|
||||
<h4 class="post-title"><%- title %></h4>
|
||||
<p class="posted-details">
|
||||
@@ -32,22 +48,6 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<% if (!readOnly) { %>
|
||||
<div class="post-header-actions post-extended-content">
|
||||
<%=
|
||||
_.template(
|
||||
$('#forum-actions').html())(
|
||||
{
|
||||
contentId: cid,
|
||||
contentType: 'post',
|
||||
primaryActions: ['vote', 'follow'],
|
||||
secondaryActions: ['pin', 'edit', 'delete', 'report', 'close'],
|
||||
readOnly: readOnly
|
||||
}
|
||||
)
|
||||
%>
|
||||
</div>
|
||||
<% } %>
|
||||
</header>
|
||||
|
||||
<div class="post-body"><%- body %></div>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="post-extended-content thread-responses-wrapper">
|
||||
<% if (!readOnly) { %>
|
||||
<div class="add-response">
|
||||
<button class="btn-brand btn-small add-response-btn">
|
||||
<button class="btn btn-small add-response-btn">
|
||||
<%- gettext("Add a Response") %>
|
||||
</button>
|
||||
</div>
|
||||
@@ -26,7 +26,7 @@
|
||||
<ul class="discussion-errors"></ul>
|
||||
<div class="reply-body" data-id="<%- id %>"></div>
|
||||
<div class="reply-post-control">
|
||||
<button class="btn-brand discussion-submit-post control-button"><%- gettext("Submit") %></button>
|
||||
<button class="btn discussion-submit-post control-button"><%- gettext("Submit") %></button>
|
||||
</div>
|
||||
</form>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user