add: show if user account is banned on profile
fix: check post owner privacy settings on community pages
This commit is contained in:
parent
03b252937b
commit
4c26879d00
9 changed files with 112 additions and 14 deletions
|
@ -47,7 +47,7 @@
|
|||
}}
|
||||
<div class="flex flex-col">
|
||||
<!-- prettier-ignore -->
|
||||
<h3 id="username" class="username flex items-center gap-2">
|
||||
<h3 id="username" class="username flex items-center gap-2 flex-wrap w-full">
|
||||
<span class="name shorter">{{ components::username(user=profile) }}</span>
|
||||
|
||||
{% if profile.is_verified %}
|
||||
|
@ -56,11 +56,17 @@
|
|||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% if is_supporter %}
|
||||
{% if profile.permissions|has_supporter %}
|
||||
<span title="Supporter" style="color: var(--color-primary);" class="flex items-center">
|
||||
{{ icon "star" }}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% if profile.permissions|has_staff_badge %}
|
||||
<span title="Staff" style="color: var(--color-primary);" class="flex items-center">
|
||||
{{ icon "shield-user" }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</h3>
|
||||
|
||||
<span class="fade">{{ profile.username }}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue