{% extends "motion/base_motion.html" %} {% load tags %} {% load i18n %} {% load staticfiles %} {% block title %}{{ block.super }} – {% trans "Motion" %} "{{ version.title }}"{% endblock %} {% block submenu %} {{ block.super }} {% endblock %} {% block content %}

{{ version.title }} ({% trans "Motion" %} {% if motion.number != None %} {{ motion.number }}) {% else %} [{% trans "no number" %}]) {% endif %}

{% trans "Version" %} {{ version.aid }} {% if motion.public_version != motion.last_version %} ⋅ {% if version == motion.public_version %} {% trans "This is not the newest version." %} {% trans "Go to version" %} {{ motion.last_version.aid }}. {% else %} {% trans "This is not the authorized version." %} {% trans "Go to version" %} {{ motion.public_version.aid }}. {% endif %} {% endif %}

{% trans "Motion" %}:

{{ version.text|linebreaks }}

{% trans "Reason" %}:

{% if version.reason %} {{ version.reason|linebreaks }} {% else %} – {% endif %} {% if motion.versions|length > 1 %}

{% trans "Version History" %}:

{% for revision in motion.versions %} {% endfor %}
{% trans "Version" %} {% trans "Time" %} {% trans "Title" %} {% trans "Text" %} {% trans "Reason" %}
{% if motion.status != "pub" %} {% if revision == motion.permitted %} {% else %} {% if perms.motion.can_manage_motion %} {% endif %} {% if not revision.rejected and revision.id > motion.permitted.id and perms.motion.can_manage_motion %} {% endif %} {% endif %} {% if revision.rejected %} {% endif %} {% endif %} {{ revision.aid }} {{ revision.time }} {% ifchanged %} {{ revision.title }} {% else %} [{% trans "unchanged" %}] {% endifchanged %} {% ifchanged %} {{ revision.text|linebreaks }} {% else %} [{% trans "unchanged" %}] {% endifchanged %} {% ifchanged %} {{ revision.reason|linebreaks }} {% else %} [{% trans "unchanged" %}] {% endifchanged %}
{% endif %} {% if perms.motion.can_manage_motion %}

{% trans "Log" %}:

{{ motion.log|linebreaks }} {% endif %}
{% endblock %}