mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 07:48:16 -05:00
Pretty up banned subreddits in multireddit.
This commit is contained in:
committed by
Brian Simpson
parent
aae7a5a64d
commit
d67a65dc66
@@ -1281,6 +1281,10 @@ textarea.gray { color: gray; }
|
||||
.fancy-toggle-button .add {
|
||||
background-image: url(/static/bg-button-add.png);
|
||||
}
|
||||
.fancy-toggle-button .banned {
|
||||
background-color: #666;
|
||||
padding: 1px 1.9em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2883,6 +2887,11 @@ ul#image-preview-list .description pre {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.subscription-box .title.banned {
|
||||
color: dimgray;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.subscription-box .column {
|
||||
width: 50%;
|
||||
float: left;
|
||||
|
||||
@@ -53,13 +53,13 @@
|
||||
<% is_spam = hasattr(sr, "_spam") and sr._spam %>
|
||||
<li>
|
||||
%if is_multi and is_spam:
|
||||
${_("banned_on_multi")}
|
||||
 
|
||||
${sr.name}
|
||||
<span class="fancy-toggle-button">
|
||||
<span class="active banned">${_("banned")}</span>
|
||||
</span>
|
||||
<span class="title banned">${sr.name}</span>
|
||||
%elif is_spam:
|
||||
${_("banned")}
|
||||
 
|
||||
${sr.name}
|
||||
${addremove_button(sr)}
|
||||
<span class="title banned">${sr.name}</span>
|
||||
%else:
|
||||
${addremove_button(sr)}
|
||||
${plain_link(sr.name, sr.path, _class="title")}
|
||||
|
||||
Reference in New Issue
Block a user