From f717005f9a13c3b51c63af5903a77bb6fbb0f978 Mon Sep 17 00:00:00 2001 From: Julian Dehm Date: Wed, 3 Jan 2024 11:02:28 +0100 Subject: [PATCH] apps/interactiveevent: display module and phase description as plain text --- .../a4_candy_interactive_events/module_detail.html | 12 ++++++------ changelog/_9999.md | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 changelog/_9999.md diff --git a/apps/interactiveevents/templates/a4_candy_interactive_events/module_detail.html b/apps/interactiveevents/templates/a4_candy_interactive_events/module_detail.html index fd458241b..41ecc008e 100644 --- a/apps/interactiveevents/templates/a4_candy_interactive_events/module_detail.html +++ b/apps/interactiveevents/templates/a4_candy_interactive_events/module_detail.html @@ -34,10 +34,10 @@

{{ module.name }}

{% if module.description|length > 180 %}
- {{ module.description|truncatechars:160|richtext }} + {{ module.description|truncatechars:160 }}
- {{ module.description|richtext }} + {{ module.description }}
{% else %} - {{ module.description|richtext }} + {{ module.description }} {% endif %}
@@ -65,10 +65,10 @@

{{ module.name }}

{% if module.phases.first.description|length > 180 %}
- {{ module.phases.first.description|truncatechars:160|richtext }} + {{ module.phases.first.description|truncatechars:160 }}
- {{ module.phases.first.description|richtext }} + {{ module.phases.first.description }}
{% else %} - {{ module.phases.first.description|richtext }} + {{ module.phases.first.description }} {% endif %}
diff --git a/changelog/_9999.md b/changelog/_9999.md new file mode 100644 index 000000000..75f7c54a5 --- /dev/null +++ b/changelog/_9999.md @@ -0,0 +1,3 @@ +### Changes + +- apps/interactiveevent: display module description and phase info as plain text