Skip to content

Commit

Permalink
apps/interactiveevent: display module and phase description as plain …
Browse files Browse the repository at this point in the history
…text
  • Loading branch information
goapunk authored and m4ra committed Feb 5, 2024
1 parent ef2f034 commit f717005
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ <h1>{{ module.name }}</h1>
<div class="mb-2">
{% if module.description|length > 180 %}
<div id="collapsibleContentEvent" class="collapse show u-no-transition">
{{ module.description|truncatechars:160|richtext }}
{{ module.description|truncatechars:160 }}
</div>
<div id="collapsibleContentEvent" class="collapse u-no-transition">
{{ module.description|richtext }}
{{ module.description }}
</div>
<button
class="btn--link collapsible "
Expand All @@ -50,7 +50,7 @@ <h1>{{ module.name }}</h1>
<span class="link--less">{% translate 'Read Less' %}</span>
</button>
{% else %}
{{ module.description|richtext }}
{{ module.description }}
{% endif %}
</div>
<div class="phase-info__item u-no-border">
Expand All @@ -65,10 +65,10 @@ <h1>{{ module.name }}</h1>
<div class="mb-5">
{% if module.phases.first.description|length > 180 %}
<div id="collapsibleContentPhase" class="collapse show u-no-transition">
{{ module.phases.first.description|truncatechars:160|richtext }}
{{ module.phases.first.description|truncatechars:160 }}
</div>
<div id="collapsibleContentPhase" class="collapse u-no-transition">
{{ module.phases.first.description|richtext }}
{{ module.phases.first.description }}
</div>
<button
class="btn--link collapsible "
Expand All @@ -81,7 +81,7 @@ <h1>{{ module.name }}</h1>
<span class="link--less">{% translate 'Read Less' %}</span>
</button>
{% else %}
{{ module.phases.first.description|richtext }}
{{ module.phases.first.description }}
{% endif %}
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions changelog/_9999.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Changes

- apps/interactiveevent: display module description and phase info as plain text

0 comments on commit f717005

Please sign in to comment.