{% extends "alertprofiles/base_list.html" %} {% block top_links %} {% endblock %} {% block captioncontent %} Addresses {% endblock %} {# FIXME hardcoded urls #} {% block theadcols %} {% ifequal order_by "address" %} Address Sorted ascending {% else %} Address {% ifequal order_by "-address" %} Sorted descending {% endifequal %} {% endifequal %} {% ifequal order_by "type" %} Type Sorted ascending {% else %} Type {% ifequal order_by "-type" %} Sorted descending {% endifequal %} {% endifequal %} {% endblock %} {% block tbodycontent %} {% for a in object_list %} {{ a.address }} {{ a.type.name }} {% endfor %} {% endblock %}