migrate manual DOM creation for notifications to nunjuck template

This commit is contained in:
Felix Wiedenbach
2021-10-15 06:23:50 +02:00
parent 026e624e23
commit 467720f1c4
2 changed files with 29 additions and 13 deletions

View File

@@ -0,0 +1,9 @@
{% if title %}
<span class="thin dimmed medium">{{ title }}</span>
{% endif %}
{% if message %}
{% if title %}
<br/>
{% endif %}
<span class="light bright small">{{ message }}</span>
{% endif %}