Skip to content
Snippets Groups Projects
Verified Commit aa90950c authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Render line breaks in notification descriptions as <br> tags

parent 6778e4bb
No related branches found
No related tags found
1 merge request!517Render line breaks in notification descriptions as <br> tags
Pipeline #6278 passed
......@@ -32,7 +32,7 @@
</div>
<strong>{{ notification.title }}</strong>
<p>{{ notification.description }}</p>
<p>{{ notification.description|linebreaks }}</p>
</div>
</div>
{% endfor %}
......
......@@ -16,7 +16,7 @@
<i class="material-icons left">access_time</i> {{ notification.created }}
</p>
<p>
{{ notification.description }}
{{ notification.description|linebreaks }}
</p>
{% if notification.link %}
<p>
......
......@@ -30,7 +30,7 @@
<blockquote>
<h5>{{ notification.title }}</h5>
<p>{{ notification.description }}</p>
<p>{{ notification.description|linebreaks }}</p>
{% if notification.link %}
<a href="{{ notification.link }}">{% trans "More information" %} →</a>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment