mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Pass fullname on deleted things if we can ban.
This commit is contained in:
@@ -57,7 +57,7 @@ ${self.RenderPrintable()}
|
||||
<%def name="thing_css_class(what)">
|
||||
<%
|
||||
cssclass = "thing"
|
||||
if not getattr(what, 'deleted', False):
|
||||
if not getattr(what, 'deleted', False) or getattr(what, 'can_ban', False):
|
||||
cssclass += " id-" + what._fullname
|
||||
%>
|
||||
${cssclass}
|
||||
|
||||
Reference in New Issue
Block a user