{% extends request.is_ajax|yesno:"base_ajax_nomodal.html,base_rigs.html" %} {% load static %} {% load humanize %} {% load paginator from filters %} {% load to_class_name from filters %} {% block content %}
{% for version in object_list %} {% if not version.withPrevious %} {% if not forloop.first %}
{#/.media-body#}
{#/.media#}
{% endif %}
{% if version.revision.user %} {% endif %}
{{ version.revision.user.name }} {{version.revision.date_created|naturaltime}}
{% endif %}

{% if version.changes.old == None %} Created {% else %} Changed {% include 'version_changes.html' %} in {% endif %} {% include 'object_button.html' with object=version.changes.new %} {% if version.revision.comment %} ({{ version.revision.comment }}) {% endif %}

{% endfor %}
{% endblock %}