{# copied bootstrap's .dropdown-menu>li>a styles so we can have an drop-down entry that isn't a link #}
{% if request.user.notifications.all.count > 0 %}
View All
{% if unread_count > 0 %}
|
Mark All Read
{% endif %}
{% else %}
No notifications.
{% endif %}
{% for n in request.user.notifications.all|slice:":5" %}