Link to local versions of statuses in notifications

This commit is contained in:
Mouse Reeve
2020-12-30 16:10:32 -08:00
parent 885bb023a3
commit d42ebbaf4a
2 changed files with 3 additions and 3 deletions

View File

@ -26,10 +26,10 @@
{% elif notification.notification_type == 'MENTION' %}
mentioned you in a
<a href="{{ notification.related_status.remote_id}}">status</a>
<a href="/user/{{ notification.related_status.user }}/status/{{ notification.related_status.id}}">status</a>
{% elif notification.notification_type == 'REPLY' %}
<a href="{{ notification.related_status.remote_id}}">replied</a>
<a href="/user/{{ notification.related_status.user }}/status/{{ notification.related_status.id}}">replied</a>
to your
<a href="{{ notification.related_status.reply_parent.remote_id}}">status</a>
{% elif notification.notification_type == 'FOLLOW' %}