{% extends "base.html" %} {% block body %} {% macro edit_list(edits, entity_type, entity_name) -%}

{{ entity_name }} Edits ({{ edits|count }})

{% for edit in edits %}
{{ entity_type }}/{{ edit.ident }} {% if edit.redirect_ident %} => redirect to {{ entity_type }}/{{ edit.redirect_ident }} {% elif not edit.revision %} deleted {% elif not edit.prev_revision %} created {% else %} updated {% endif %}
{% if edit.revision %} Revision: {{ edit.revision }} {% endif %} {% if edit.extra %} {% endif %}
{% endfor %}
{%- endmacro %} {# extended by changelog_entry #} {% block editgroupheader %} {% if not editgroup.changelog_index %}
{% if auth_to_accept %}

{% endif %} {% if auth_to_submit %} {% if editgroup.submitted %}

{% else %}
{% endif %} {% endif %}
{% endif %}

Editgroup
editgroup {{ editgroup.editgroup_id }}

{% endblock %}
Status: {% if editgroup.changelog_index %} Merged (Changelog #{{ editgroup.changelog_index }}) {% elif editgroup.submitted %} Submitted ({{ editgroup.submitted }}) {% else %} Not Submitted {% endif %}
Editor: {{ editgroup.editor.username }}
Description: {% if editgroup.description %} {{ editgroup.description }} {% else %} none {% endif %}

{{ edit_list(editgroup.edits.works, "work", "Work") }} {{ edit_list(editgroup.edits.releases, "release", "Release") }} {{ edit_list(editgroup.edits.containers, "container", "Container") }} {{ edit_list(editgroup.edits.creators, "creator", "Creator") }} {{ edit_list(editgroup.edits.files, "file", "File") }} {{ edit_list(editgroup.edits.filesets, "fileset", "File Set") }} {{ edit_list(editgroup.edits.webcaptures, "webcapture", "Web Capture") }}

What is an editgroup? An editgroup is a set of entity edits, bundled together into a coherent, reviewable bundle. {% endblock %} {% block postscript %} {% endblock %}