{% extends 'ndr_core/admin_views/base.html' %} {% load static %} {% load ndr_utils %} {% block content %}

Manage Images

Image Groups
{% if images is not None %}
{{ title }}
{% if images|length == 0 %} {% else %}
{% for image in images %} {% if forloop.counter0|divisibleby:4 %}
{% endif %}
{% if image.title %} {{ image.title }}
{% else %} No Title
{% endif %}
{% if image.caption %} {{ image.caption }}
{% else %} No caption
{% endif %} {% if image.image_group == "figures" %} To display this image, use this code in your page text: [[figure|{{ image.pk }}]]
{% endif %}

{% if not forloop.first %} {% endif %}

{% if forloop.counter0|modulo:4 == 3 %}
{% endif %} {% endfor %} {% if images|length|modulo:4 != 0 %}
{% endif %}
{% endif %}
{% endif %} {% endblock %}