Aevann 2024-03-06 00:51:30 +02:00
parent 58ea9ef3a6
commit a55de6a62d
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
{% include "popover.html" %}
{% endif %}
{% set disable_votes = (request.path.startswith('/@') and not wall) and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
{% set disable_votes = (request.path.startswith('/@') and not wall and u != v) and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
{% macro single_comment(c, level=1, collapse=False) %}
{% if can_see(v, c) %}

View File

@ -10,7 +10,7 @@
{% include "popover.html" %}
{% set disable_votes = request.path.startswith('/@') and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
{% set disable_votes = request.path.startswith('/@' and u != v) and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
{% set post_permalinks = [] %}
{% for p in listing if can_see(v, p) %}