wiki-grav/plugins/admin/themes/grav/templates/partials/notification-feed-block.html.twig
2022-04-24 14:32:58 +02:00

4 lines
314 B
Twig

{% for entry in notifications %}
<li class="single-notification {{ entry.type }}-notification"><span class="badge alert {{ entry.type }}">{{ entry.type|capitalize }}</span><a target="_blank" href="{{ entry.link }}" title="{{ entry.message|striptags|e('html_attr') }}">{{ entry.message|raw }}</a></li>
{% endfor %}