implement blacklists for popular
This commit is contained in:
@@ -312,6 +312,28 @@ div#c-explore-posts {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#blacklist-box {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#blacklist-list {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#blacklist-list li {
|
||||
display: inline;
|
||||
margin-right: 1em;
|
||||
|
||||
a {
|
||||
color: $link_color;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #AAA;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div#unapprove-dialog {
|
||||
|
||||
5
app/views/explore/posts/_blacklists.html.erb
Normal file
5
app/views/explore/posts/_blacklists.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<div id="blacklist-box">
|
||||
<strong>Blacklisted: </strong>
|
||||
<ul id="blacklist-list">
|
||||
</ul>
|
||||
</div>
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
<%= render "date_explore", :post_set => @post_set %>
|
||||
|
||||
<%= render "blacklists" %>
|
||||
|
||||
<%= @post_set.presenter.post_previews_html(self) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user