From 1a3dd52e1b0a8ed50a2b6e34a77f23a6d62ff495 Mon Sep 17 00:00:00 2001
From: Arnaud-D <35631001+Arnaud-D@users.noreply.github.com>
Date: Sat, 26 Aug 2023 15:35:05 +0200
Subject: [PATCH] Prise en compte des commentaires de Philippe
---
templates/footer.html | 2 +-
templates/pages/index.html | 2 +-
zds/pages/tests.py | 6 +++---
zds/pages/urls.py | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/footer.html b/templates/footer.html
index dd651e69f3..079d4b48f4 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -59,7 +59,7 @@
- {% trans "API" %}
- {% trans "CGU" %}
- - {% trans "Crédits techniques" %}
+ - {% trans "Crédits techniques" %}
{% if app.site.association %}
- {% trans "L’association" %}
-
diff --git a/templates/pages/index.html b/templates/pages/index.html
index f3700688a4..0cd59f7a5d 100644
--- a/templates/pages/index.html
+++ b/templates/pages/index.html
@@ -24,7 +24,7 @@
{% trans "Pages" %}
{% block content %}
- {% trans "CGU" %}
- - {% trans "À propos" %}
+ - {% trans "Crédits techniques" %}
{% if app.site.association %}
- {% trans "L’association" %}
- {% trans "Adhérer à l'association" %}
diff --git a/zds/pages/tests.py b/zds/pages/tests.py
index aa6abb7cc3..64f6335c0c 100644
--- a/zds/pages/tests.py
+++ b/zds/pages/tests.py
@@ -38,7 +38,7 @@ def test_url_about(self):
"""Test: check that about page is alive."""
result = self.client.get(
- reverse("pages-about"),
+ reverse("pages-technologies"),
)
self.assertEqual(result.status_code, 200)
@@ -98,7 +98,7 @@ def test_url_about(self):
"""Test: check that about page is alive."""
result = self.client.get(
- reverse("pages-about"),
+ reverse("pages-technologies"),
)
self.assertEqual(result.status_code, 200)
@@ -154,7 +154,7 @@ def test_url_about(self):
"""Test: check that about page is alive."""
result = self.client.get(
- reverse("pages-about"),
+ reverse("pages-technologies"),
)
self.assertEqual(result.status_code, 200)
diff --git a/zds/pages/urls.py b/zds/pages/urls.py
index 6a80245ff1..d413520045 100644
--- a/zds/pages/urls.py
+++ b/zds/pages/urls.py
@@ -16,7 +16,7 @@
urlpatterns = [
# single pages
- path("apropos/", about, name="pages-about"),
+ path("apropos/", about, name="pages-technologies"),
path("association/", association, name="pages-association"),
path("contact/", ContactView.as_view(), name="pages-contact"),
path("cgu/", eula, name="pages-eula"),