forked from rDrama/rDrama
fdfd
parent
fdffecd8c7
commit
b71d59b5d3
|
@ -35,7 +35,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
|
|||
created_utc = Column(Integer, default=0)
|
||||
edited_utc = Column(Integer, default=0)
|
||||
is_banned = Column(Boolean, default=False)
|
||||
bannedforit = Column(Boolean)
|
||||
bannedfor = Column(Boolean)
|
||||
shadowbanned = Column(Boolean, default=False)
|
||||
distinguish_level = Column(Integer, default=0)
|
||||
deleted_utc = Column(Integer, default=0)
|
||||
|
|
|
@ -42,7 +42,7 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing):
|
|||
created_utc = Column(BigInteger, default=0)
|
||||
thumburl = Column(String)
|
||||
is_banned = Column(Boolean, default=False)
|
||||
bannedforit = Column(Boolean)
|
||||
bannedfor = Column(Boolean)
|
||||
views = Column(Integer, default=0)
|
||||
deleted_utc = Column(Integer, default=0)
|
||||
distinguish_level = Column(Integer, default=0)
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if c.bannedforit %}
|
||||
{% if c.bannedfor %}
|
||||
<a href="javascript:void(0)"><i class="fad fa-gavel text-danger" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="User was banned for this comment by @{{c.author.banned_by.username}}"></i></a>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@
|
|||
<div class="{% if p.deleted_utc > 0 %}deleted {% endif %}card-block w-100 my-md-auto">
|
||||
|
||||
<div class="post-meta text-left mb-2">
|
||||
{% if p.bannedforit %}
|
||||
{% if p.bannedfor %}
|
||||
<a href="javascript:void(0)"><i class="fad fa-gavel text-danger" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="User was banned for this comment by @{{p.author.banned_by.username}}"></i></a>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
<div class="card-block text-left x-scroll-parent my-md-auto w-100">
|
||||
|
||||
<div class="post-meta text-left x-scroll mb-md-2">
|
||||
{% if p.bannedforit %}
|
||||
{% if p.bannedfor %}
|
||||
<a href="javascript:void(0)"><i class="fad fa-gavel text-danger" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="User was banned for this comment by @{{p.author.banned_by.username}}"></i></a>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue