Skip to content

Commit

Permalink
Prise en compte des commentaires de Philippe
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-D committed Sep 3, 2023
1 parent eb94f11 commit 1a3dd52
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<ul class="links">
<li><a href="{% url "api:docs" %}">{% trans "API" %}</a></li>
<li><a href="{% url "pages-eula" %}">{% trans "CGU" %}</a></li>
<li><a href="{% url "pages-about" %}">{% trans "Crédits techniques" %}</a></li>
<li><a href="{% url "pages-technologies" %}">{% trans "Crédits techniques" %}</a></li>
{% if app.site.association %}
<li><a href="{% url "pages-association" %}">{% trans "L’association" %}</a></li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion templates/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>{% trans "Pages" %}</h1>
{% block content %}
<ul>
<li><a href="{% url "pages-eula" %}"><abbr title="{% trans "Conditions générales d’utilisation" %}">{% trans "CGU" %}</abbr></a></li>
<li><a href="{% url "pages-about" %}">{% trans "À propos" %}</a></li>
<li><a href="{% url "pages-technologies" %}">{% trans "Crédits techniques" %}</a></li>
{% if app.site.association %}
<li><a href="{% url "pages-association" %}">{% trans "L’association" %}</a></li>
<li><a href="{{ app.site.association.subscribe_link }}">{% trans "Adhérer à l'association" %}</a></li>
Expand Down
6 changes: 3 additions & 3 deletions zds/pages/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion zds/pages/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 1a3dd52

Please sign in to comment.