templates: support line breaks in event description (#54074)
This commit is contained in:
parent
045ae53bf1
commit
3bfea3b718
|
@ -2,7 +2,7 @@
|
|||
{% if object.description or object.pricing or object.url %}
|
||||
<div class="section">
|
||||
<div>
|
||||
{% if object.description %}<p>{{ object.description }}</p>{% endif %}
|
||||
{% if object.description %}{{ object.description|linebreaks }}{% endif %}
|
||||
{% if object.pricing %}<p>{% trans "Pricing:" %} {{ object.pricing }}</p>{% endif %}
|
||||
{% if object.url %}<p><a href="{{ object.url }}">{{ object.url|truncatechars:100 }}</a></p>{% endif %}
|
||||
{% if object.publication_date %}<p>{% trans "Publication date:" %} {{ object.publication_date }}</p>{% endif %}
|
||||
|
|
Loading…
Reference in New Issue