{# Navbar notifications dropdown — a no-JS
menu whose count + items refresh in JS mode via Unpoly polling (up-poll/up-interval reload this same #fcu-notifications fragment from construct.notifications_url). Included in base_full.html for the initial/full-page render and returned verbatim by the /_construct/notifications endpoint for each poll. Requires `construct` in context. #}
{{ icon("notifications") }} {% if construct.notifications.count > 0 %} {{ construct.notifications.count }} {% endif %}
{{ construct.t("crud-num-notifications", {"count": construct.notifications.count}) }} {% for item in construct.notifications.get_notices() %} {% if item.icon %}{{ icon(item.icon) }}{% endif %} {{ item.title }} {% endfor %}