Pretty up banned subreddits in multireddit.

This commit is contained in:
Neil Williams
2011-08-17 20:19:05 -07:00
committed by Brian Simpson
parent aae7a5a64d
commit d67a65dc66
2 changed files with 15 additions and 6 deletions

View File

@@ -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;

View File

@@ -53,13 +53,13 @@
<% is_spam = hasattr(sr, "_spam") and sr._spam %>
<li>
%if is_multi and is_spam:
${_("banned_on_multi")}
&#32;
${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")}
&#32;
${sr.name}
${addremove_button(sr)}
<span class="title banned">${sr.name}</span>
%else:
${addremove_button(sr)}
${plain_link(sr.name, sr.path, _class="title")}