diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1ab5c819cbba09129644007a521ca685b6c59878..f5378e70ee3e82b75ecd838c8a992f6e976c6ce8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog`_, and this project adheres to `Semantic Versioning`_. +Unreleased +---------- + +Fixed +~~~~~ + +* Link for digital products was wrong. + `0.6`_ - 2023-05-28 ------------------- diff --git a/aleksis/apps/order/templates/templated_email/digital_products.email b/aleksis/apps/order/templates/templated_email/digital_products.email index 60f413dde2e509fff80a535809e08839ff888361..dcd11f7353b9008ea098459edfafbc6963c03422 100644 --- a/aleksis/apps/order/templates/templated_email/digital_products.email +++ b/aleksis/apps/order/templates/templated_email/digital_products.email @@ -1,4 +1,4 @@ -{% load i18n html2text %} +{% load i18n html2text html_helpers %} {% block subject %}{% trans "Digital products" %}: {{ order.form.title }} (#{{ order.pk }}){% endblock %} @@ -9,7 +9,7 @@ {% blocktrans %}You now have access to digital products of your order. Please use the following link to access them:{% endblocktrans %} -{{ digital_products_url }} +{{ digital_products_url|remove_prefix:"/django/" }} {{ order.form.help_text|textify }} {% endblock %} @@ -34,7 +34,7 @@ You now have access to digital products of your order. Please use the following link to access them: {% endblocktrans %} - <a href="{{ digital_products_url }}">{{ digital_products_url }}</a> + <a href="{{ digital_products_url|remove_prefix:"/django/" }}">{{ digital_products_url|remove_prefix:"/django/" }}</a> </p> {{ order.form.help_text|safe }}