{% load i18n %} {% load auth_notifications %} {% with unread_count=request.user|user_unread_notification_count %} {% if unread_count > 0 %} {% translate "Notifications" %} {{ unread_count }} {% else %} {% endif %} {% endwith %}