fix notifs for profile wall replies

master
Aevann1 2022-12-05 04:19:51 +02:00
parent d6a219c151
commit e9f4f88f24
1 changed files with 5 additions and 1 deletions

View File

@ -94,7 +94,11 @@
<span class="font-weight-bold">Notification</span>
{% elif c.wall_user_id %}
{% if request.path == '/notifications' %}
<span class="font-weight-bold"><a href="/@{{v.username}}">Profile Wall</a></span>
{% if c.wall_user_id == v.id %}
<span class="font-weight-bold"><a href="/@{{v.username}}">Your Profile Wall</a></span>
{% else %}
<span class="font-weight-bold"><a href="/@{{c.wall_user.username}}">@{{c.wall_user.username}}'s Profile Wall</a></span>
{% endif %}
{% endif %}
{% elif c.sentto == MODMAIL_ID %}
<span class="font-weight-bold">Sent to admins</span>