Skip to content

Commit

Permalink
Merge pull request #3128 from evazion/fix-inline-blacklists
Browse files Browse the repository at this point in the history
Fix #3121: No Blacklist Box on the various controllers
  • Loading branch information
r888888888 committed Jun 8, 2017
2 parents ec27a4a + 2929857 commit 1548efb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/specific/posts.scss
Expand Up @@ -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;
}
Expand Down
2 changes: 2 additions & 0 deletions app/views/artist_commentaries/index.html.erb
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions app/views/comments/index_by_comment.html.erb
Expand Up @@ -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| %>
Expand Down
1 change: 1 addition & 0 deletions app/views/moderator/dashboards/show.html.erb
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/views/posts/partials/common/_inline_blacklist.html.erb
@@ -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>
Expand Down
1 change: 1 addition & 0 deletions app/views/users/show.html.erb
Expand Up @@ -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>
Expand Down

0 comments on commit 1548efb

Please sign in to comment.