show "profile wall" above wall notifs

pull/48/head
Aevann1 2022-12-05 03:37:44 +02:00
parent 8d64804724
commit 492c377e8e
1 changed files with 7 additions and 5 deletions

View File

@ -92,12 +92,14 @@
{% endif %}
{% elif c.author_id==AUTOJANNY_ID %}
<span class="font-weight-bold">Notification</span>
{% elif not c.wall_user_id %}
{% if c.sentto == MODMAIL_ID %}
<span class="font-weight-bold">Sent to admins</span>
{% else %}
<span class="font-weight-bold">Sent to @{{c.senttouser.username}}</span>
{% elif c.wall_user_id %}
{% if request.path == '/notifications' %}
<span class="font-weight-bold"><a href="/@{{v.username}}">Profile Wall</a></span>
{% endif %}
{% elif c.sentto == MODMAIL_ID %}
<span class="font-weight-bold">Sent to admins</span>
{% else %}
<span class="font-weight-bold">Sent to @{{c.senttouser.username}}</span>
{% endif %}
</span>
</div>