From d42ebbaf4a83f790e9942bfb1f7f1220b180e94e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 30 Dec 2020 16:10:32 -0800 Subject: [PATCH] Link to local versions of statuses in notifications --- bookwyrm/templates/notifications.html | 4 ++-- bookwyrm/urls.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/notifications.html b/bookwyrm/templates/notifications.html index ddcbc0fd..a50d67af 100644 --- a/bookwyrm/templates/notifications.html +++ b/bookwyrm/templates/notifications.html @@ -26,10 +26,10 @@ {% elif notification.notification_type == 'MENTION' %} mentioned you in a - status + status {% elif notification.notification_type == 'REPLY' %} - replied + replied to your status {% elif notification.notification_type == 'FOLLOW' %} diff --git a/bookwyrm/urls.py b/bookwyrm/urls.py index 22edd38a..3eea012a 100644 --- a/bookwyrm/urls.py +++ b/bookwyrm/urls.py @@ -20,7 +20,7 @@ status_types = [ 'generatednote' ] status_path = r'%s/(%s)/(?P\d+)' % \ - (local_user_path, '|'.join(status_types)) + (user_path, '|'.join(status_types)) book_path = r'^book/(?P\d+)'