From 8da239f6859c82ca76391dd43513760e086e24e1 Mon Sep 17 00:00:00 2001 From: Arnaud-D <35631001+Arnaud-D@users.noreply.github.com> Date: Sun, 3 Jul 2022 19:09:24 +0200 Subject: [PATCH] Refactorise les URL de notifications (#6297) --- templates/header.html | 4 ++-- templates/notification/followed.html | 2 +- zds/notification/tests/tests_basics.py | 2 +- zds/notification/urls.py | 8 +++++--- zds/notification/views.py | 2 +- zds/urls.py | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/templates/header.html b/templates/header.html index 654348c943..630c8b849c 100644 --- a/templates/header.html +++ b/templates/header.html @@ -260,7 +260,7 @@

{% trans "Messagerie privée" %}

{# NOTIFICATIONS #}
- + {% if header_general_notifications.total > 0 %} {{ header_general_notifications.total }} {% endif %} @@ -290,7 +290,7 @@

{% trans "Notifications" %}

{% endif %} -
+ {% trans "Toutes les notifications" %}
diff --git a/templates/notification/followed.html b/templates/notification/followed.html index 363410b110..c0f065b03b 100644 --- a/templates/notification/followed.html +++ b/templates/notification/followed.html @@ -64,7 +64,7 @@

{% trans "Actions" %}