diff --git a/dsfr/templates/dsfr/footer.html b/dsfr/templates/dsfr/footer.html index 7052e1f80..aa42c64a9 100644 --- a/dsfr/templates/dsfr/footer.html +++ b/dsfr/templates/dsfr/footer.html @@ -50,7 +50,10 @@ diff --git a/dsfr/templates/dsfr/link.html b/dsfr/templates/dsfr/link.html index 60160d24a..29a5d4898 100644 --- a/dsfr/templates/dsfr/link.html +++ b/dsfr/templates/dsfr/link.html @@ -3,5 +3,5 @@ href="{{ self.url }}" {% if self.is_external %} target="_blank" rel="noopener noreferrer"{% endif %} > - {{ self.label }} + {{ self.label }}{% if self.is_external %} Ouvre une nouvelle fenêtre{% endif %} \ No newline at end of file diff --git a/dsfr/templates/dsfr/quote.html b/dsfr/templates/dsfr/quote.html index ccba888dd..343dfb424 100644 --- a/dsfr/templates/dsfr/quote.html +++ b/dsfr/templates/dsfr/quote.html @@ -10,7 +10,7 @@ {% for detail in self.details %} {% if detail.link %} -
  • {{ detail.text }}
  • +
  • {{ detail.text }} Ouvre une nouvelle fenêtre
  • {% else %}
  • {{ detail.text }}
  • {% endif %} diff --git a/dsfr/templates/dsfr/theme_modale.html b/dsfr/templates/dsfr/theme_modale.html index e7c01ed56..bf7ec38f5 100644 --- a/dsfr/templates/dsfr/theme_modale.html +++ b/dsfr/templates/dsfr/theme_modale.html @@ -5,7 +5,7 @@
    - +

    diff --git a/dsfr/test/test_templatetags.py b/dsfr/test/test_templatetags.py index 3676e9686..07ea13b41 100644 --- a/dsfr/test/test_templatetags.py +++ b/dsfr/test/test_templatetags.py @@ -168,7 +168,6 @@ class DsfrBadgeTagTest(SimpleTestCase): def test_badge_tag_rendered(self): rendered_template = self.template_to_render.render(self.context) - print(rendered_template) self.assertInHTML( """

    badge label

    @@ -452,7 +451,7 @@ def test_link_tag_rendered(self): href="http://example.com" target="_blank" rel="noopener noreferrer" > - Label of the link item + Label of the link item Ouvre une nouvelle fenêtre """, rendered_template, @@ -492,7 +491,7 @@ def test_quote_tag_rendered(self): Système de Design de l'État
  • Detail sans lien
  • -
  • Detail avec lien
  • +
  • Detail avec lien Ouvre une nouvelle fenêtre
  • diff --git a/example_app/templates/example_app/tags_index.html b/example_app/templates/example_app/tags_index.html index c461943f3..1831d9b0d 100644 --- a/example_app/templates/example_app/tags_index.html +++ b/example_app/templates/example_app/tags_index.html @@ -34,7 +34,7 @@

    Composants encore non implémentés

    diff --git a/pyproject.toml b/pyproject.toml index 1ed5aa801..952564c2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ authors = ["Sylvain Boissel "] description = "Integrate the French government Design System into a Django app" license = "MIT" name = "django-dsfr" -version = "0.9.0" +version = "0.9.1" classifiers = [ "Development Status :: 3 - Alpha",