From ee4100d572be8c0814e4722de1e5acabd5e65faf Mon Sep 17 00:00:00 2001 From: jbpenrath Date: Thu, 18 Apr 2024 12:11:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F(template)=20fix=20duplica?= =?UTF-8?q?ted=20placeholder=20in=20course=20detail=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit During the last update of the course detail template a typo has been added and it causes to display twice a the `course_format` placeholder ... --- CHANGELOG.md | 4 ++++ .../apps/courses/templates/courses/cms/course_detail.html | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5a89a5ec0..8d665d60bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unrealeased] +### Fixed + +- Duplicated `course_format` placeholder in `course_detail` template + ## [2.25.0] ### Added diff --git a/src/richie/apps/courses/templates/courses/cms/course_detail.html b/src/richie/apps/courses/templates/courses/cms/course_detail.html index a29addf131..429e00444e 100644 --- a/src/richie/apps/courses/templates/courses/cms/course_detail.html +++ b/src/richie/apps/courses/templates/courses/cms/course_detail.html @@ -283,7 +283,6 @@

{% blocktrans context "course_detail__title" %}

{% blocktrans context "course_detail__title" %}Format{% endblocktrans %}

- {% placeholder "course_format" %} {% placeholder "course_format" or %}

{% trans 'How is the course structured?' %}

{% endplaceholder %}