diff --git a/files/classes/user.py b/files/classes/user.py index 8989466de..493968bfd 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -45,6 +45,7 @@ class User(Base): highres = Column(String) profileurl = Column(String) bannerurl = Column(String) + house = Column(String) patron = Column(Integer, default=0) patron_utc = Column(Integer, default=0) verified = Column(String) diff --git a/files/templates/comments.html b/files/templates/comments.html index 5518a67bc..47d435f81 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -220,6 +220,10 @@ {% if c.is_bot %}{% endif %} {% if c.is_blocking %}{% endif %} {% if c.is_blocked %}{% endif %} + + {% if c.author.house %} + + {% endif %} {% if c.author.verified and not c.ghost %} {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index 7eacc0876..08187fcea 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -444,6 +444,10 @@ {% if p.ghost %} 👻 {% else %} + {% if p.author.house %} + + {% endif %} + {% if p.author.verified %} {% endif %} @{{p.author_name}}'s profile picture{{p.author_name}}{% if p.author.customtitle %}  {% if p.author.quadrant %}{{p.author.quadrant}} quadrant{% endif %}{{p.author.customtitle | safe}}{% endif %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 1107c31ce..efe7c6715 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -180,6 +180,10 @@ {% if p.ghost %} 👻 {% else %} + {% if p.author.house %} + + {% endif %} + {% if p.author.verified %} {% endif %} @{{p.author_name}}'s profile picture{{p.author_name}}{% if p.author.customtitle %}  {% if p.author.quadrant %}{{p.author.quadrant}} quadrant{% endif %}{{p.author.customtitle | safe}}{% endif %} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index a7336408b..fcecef758 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -57,6 +57,10 @@ {% endif %} + {% if u.house %} + + {% endif %} + {% if u.verified %}{% endif %} {% if u.admin_level > 1 or (u.admin_level == 1 and not(v and v.admin_level > 1)) %} @@ -348,6 +352,10 @@
>BANNED USER{% if u.ban_reason %}: {{u.ban_reason}}{% endif %}
{% if u.unban_utc %}
>{{u.unban_string}}
{% endif %} {% endif %} + {% if u.house %} + + {% endif %} + {% if u.verified %} {% endif %}

{{u.username}}

{% if u.username != u.original_username %}