Template source: _single_notification.html

{% load i18n %} <li class="single_notification"> <a id="notification-{{ notif.pk }}" class="{% if not notif.is_seen %}notification-new{% endif %}" href="{% if notif.link %}{{ notif.link }}{% else %}#{% endif %}"> <div class="notifications-icon"> {% if notif.category.name == "Likes" %} <i class="fa fa-thumbs-o-up"></i> {% elif notif.category.name == "Comments" %} <i class="fa fa-commenting"></i> {% elif notif.category.name == "Follows" %} <i class="fa fa-user-plus"></i> {% elif notif.category.name == "Messages" %} <i class="fa fa-envelope"></i> {% else %} <i class="fa fa-flag"></i> {% endif %} </div> <div class="message"> {{ notif.message }} </div> </a> </li>