Make notifications translatable

This commit is contained in:
Bat
2018-06-17 21:19:27 +01:00
parent 7faf93f44a
commit ae4bcabc53
10 changed files with 30 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
<div class="list">
{% for notification in notifications %}
<div class="card">
<h3><a href="{% if notification.link %}{{ notification.link }}/{% else %}#{% endif %}">{{ notification.title | _ }}</h3>
<h3><a href="{% if notification.link %}{{ notification.link }}/{% else %}#{% endif %}">{{ notification.title | _(data=notification.data) }}</h3>
{% if notification.content %}
<p>{{ notification.content }}</p>
{% endif %}