mirror of
https://github.com/ae-utbm/sith.git
synced 2025-11-10 05:53:06 +00:00
feat: scroll to news moderation section when clicking notification
closes #1202
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user