diff --git a/com/models.py b/com/models.py index 3d67ffec..6a9100b5 100644 --- a/com/models.py +++ b/com/models.py @@ -144,7 +144,7 @@ class News(models.Model): ), groups__id=settings.SITH_GROUP_COM_ADMIN_ID, ) - notif_url = reverse("com:news_admin_list") + notif_url = reverse("com:news_admin_list", fragment="moderation") new_notifs = [ Notification(user=user, url=notif_url, type="NEWS_MODERATION") for user in admins_without_notif diff --git a/com/templates/com/news_admin_list.jinja b/com/templates/com/news_admin_list.jinja index 2ddbb69d..ea54caaf 100644 --- a/com/templates/com/news_admin_list.jinja +++ b/com/templates/com/news_admin_list.jinja @@ -131,7 +131,7 @@ {% endfor %} -