Merge pull request #3128 from evazion/fix-inline-blacklists
Fix #3121: No Blacklist Box on the various controllers
This commit is contained in:
@@ -504,7 +504,7 @@ div#c-explore-posts {
|
||||
}
|
||||
}
|
||||
|
||||
div#c-explore-posts, div#c-post-appeals, div#c-post-flags, div#c-pools, div#c-notes, div#c-comments, div#c-favorite-groups {
|
||||
.inline-blacklist {
|
||||
#blacklist-box {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<div id="a-index">
|
||||
<h1>Artist Commentary</h1>
|
||||
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<table width="100%" class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<div id="a-index">
|
||||
<h1>Comments</h1>
|
||||
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<div class="comments-for-post">
|
||||
<div class="list-of-comments">
|
||||
<% @comments.each do |comment| %>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<h1>Moderator Dashboard</h1>
|
||||
|
||||
<%= render "search" %>
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<div id="col1">
|
||||
<div class="activity"><%= render "activity_upload" %></div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div id="blacklist-box">
|
||||
<div id="blacklist-box" class="inline-blacklist">
|
||||
<strong>Blacklisted: </strong>
|
||||
<ul id="blacklist-list">
|
||||
<li id="disable-all-blacklists" style="display: none;"><span class="link">Disable all</span></li>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<%= render "statistics", :presenter => @presenter, :user => @user %>
|
||||
|
||||
<% if !CurrentUser.is_admin? && !@user.enable_privacy_mode? || CurrentUser.id == @user.id %>
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
<%= render "post_summary", :presenter => @presenter, :user => @user %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user