{% load i18n conjunto %} {% comment %} Bell + dropdown markup, rendered into ``conjunto/app_base.html`` → ``top_bar_right`` whenever ``cj_layout.notifications`` is true and the user is authenticated. Initial content is loaded once via HTMX on dropdown render. Subsequent updates arrive on the Server-Sent-Events stream and are swapped into #notifications-dropdown by htmx' sse extension. The stream needs ASGI, hence the second gate on ``cj_layout.notifications_stream``. {% endcomment %} {% if cj_layout.notifications_stream %}{% require_script "conjunto/js/htmx/ext/sse.js" %}{% endif %}