wiki-grav/plugins/admin/themes/grav/templates/partials/notification-feed-block.html.twig

4 lines
314 B
Twig
Raw Normal View History

{% 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 %}