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 %} -
{% trans %}Events to moderate{% endtrans %}
+
{% trans %}Events to moderate{% endtrans %}
@@ -165,6 +165,3 @@
{% endblock %} - - - diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 749098b1..d2a89b73 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -1043,7 +1043,7 @@ msgstr "Événements aujourd'hui et dans les prochains jours" #: com/templates/com/news_list.jinja msgid "Administrate news" -msgstr "Administrer les news" +msgstr "Administrer les nouvelles" #: com/templates/com/news_list.jinja msgid "Nothing to come..."