Simplify common.js
This commit is contained in:
parent
7250c71e93
commit
67888bcd27
2 changed files with 8 additions and 66 deletions
|
@ -20,7 +20,7 @@
|
|||
{{_('Delete')}}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if request.user.is_staff and request.profile != message.author %}
|
||||
{% if request.user.is_staff and request.profile != message.author and not message.room_id %}
|
||||
<a class="red chatbtn_remove_mess chat_mute" value="{{message.id}}" style="cursor: pointer;">
|
||||
{{_('Mute')}}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue