From e44e6056b896f72f0b04bf7921be16adcd1b25ab Mon Sep 17 00:00:00 2001 From: gcodeur Date: Tue, 31 Oct 2017 15:51:31 +0100 Subject: [PATCH] =?UTF-8?q?Enl=C3=A8ve=20les=20lower=20en=20trop=20dans=20?= =?UTF-8?q?la=20biblioth=C3=A8que?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/tutorialv2/view/base_categories.html | 12 ++++++------ templates/tutorialv2/view/category.html | 6 +++--- templates/tutorialv2/view/subcategory.html | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/tutorialv2/view/base_categories.html b/templates/tutorialv2/view/base_categories.html index 1755ef624d..e3ea2230c4 100644 --- a/templates/tutorialv2/view/base_categories.html +++ b/templates/tutorialv2/view/base_categories.html @@ -20,9 +20,9 @@ {% block title %} {% if category %} {% if subcategory %} - {% trans "Publications dans" %} {{ subcategory.title|lower }} + {% trans "Publications dans" %} {{ subcategory.title }} {% else %} - {% trans "Publications dans" %} {{ category.title|lower }} + {% trans "Publications dans" %} {{ category.title }} {% endif %} {% else %} {% trans "Toutes les publications" %} @@ -33,12 +33,12 @@ {% block description %} {% if category %} - {% set name as category.title %} + {% set category.title as name %} {% if subcategory %} - {% set name as subcategory.title %} + {% set subcategory.title as name %} {% endif %} - {% blocktrans with name=name|lower%} + {% blocktrans %} Découvrez tous nos publications dans {{ name }}. Vous pourrez également découvrir divers sujets tous plus intéressants les uns que les autres ! {% endblocktrans %} {% else %} @@ -116,7 +116,7 @@

Parcourir

diff --git a/templates/tutorialv2/view/subcategory.html b/templates/tutorialv2/view/subcategory.html index fc46e07ae6..6d7544ce09 100644 --- a/templates/tutorialv2/view/subcategory.html +++ b/templates/tutorialv2/view/subcategory.html @@ -12,7 +12,7 @@

{% include 'tutorialv2/list_page_elements/list_of_online_contents.html' with public_contents=last_tutorials col_number=1 %} {% if last_tutorials and more_tutorials %} - Plus de tutoriels dans {{ subcategory.title | lower }} + Plus de tutoriels dans {{ subcategory.title }} {% endif %} @@ -24,7 +24,7 @@

{% include 'tutorialv2/list_page_elements/list_of_online_contents.html' with public_contents=last_articles col_number=1 %} {% if last_articles and more_articles %} - Plus d’articles dans {{ subcategory.title | lower }} + Plus d’articles dans {{ subcategory.title }} {% endif %}