{% extends "responsive_dashboard/dashlet.html" %} {% load admin_urls %} {% block dashlet_header %} {% if show_change and has_change_permission %} {{ title }} {% else %} {{ title }} {% endif %} {% endblock %} {% block dashlet_body %} {% if results %} {% for header in headers %} {% endfor %} {% for result in results %} {% for field in result.result_row %} {% endfor %} {% endfor %}
{{ header|capfirst }}
{% if forloop.first and first_column_is_link %} {% endif %} {{ field }} {% if forloop.first and first_column_is_link %}{% endif %}
{% else %} No {{ opts.verbose_name_plural }}. {% if has_add_permission %} Click to add one {% endif %} {% endif %} {% endblock %}