{% extends "alertprofiles/base_list.html" %} {% block captioncontent %} Filters {% endblock %} {% block theadcols %} {% ifequal order_by "name" %} Name Sorted ascending {% else %} Name {% ifequal order_by "-name" %} Sorted descending {% endifequal %} {% endifequal %} {% ifequal order_by "owner" %} Owner Sorted ascending {% else %} Owner {% ifequal order_by "-owner" %} Sorted descending {% endifequal %} {% endifequal %} {% endblock %} {% block tbodycontent %} {% for filter in object_list %} {% if forloop.counter|divisibleby:"2" %} {% else %} {% endif %} {{ filter.name }} {% if filter.owner %}Private{% else %}Public{% endif %} {% endfor %} {% endblock %}