{% extends 'base.html' %} {% load i18n %} {% block title %}{{ paper.name|wordwrap:60 }}{% endblock %} {% block content %}
{% if paper.deleted %} {% include "partials/deleted_note.html" %} {% endif %} {% if historical %} {% include "partials/historical_note.html" with view_name="paper" %} {% endif %}
{% include "partials/header_name.html" with object=paper %} {% if paper.description %}

{{ paper.description }}

{% endif %} {% if paper.paper_type %}

{{ paper.paper_type.paper_type }}

{% endif %}

{{ paper.reference_number|default_if_none:paper }}

{% if paper.legal_date %}

{% trans "Legal date: " %}{{ paper.legal_date }}

{% endif %} {% with paper.organizations.all as objects %} {% trans "Submitting Organizations" as name %} {% trans "Organizations" as historical_name %} {% include "partials/inline_list.html" with icon="users" link="organization" %} {% endwith %} {% with paper.persons.all as objects %} {% trans "Submitting Persons" as name %} {% trans "Persons" as historical_name %} {% include "partials/inline_list.html" with link="person" icon="user" %} {% endwith %} {% if paper.change_request_of %}

Change Request of {{ paper.change_request_of }}

{% endif %} {% if paper.history.count > 1 %} {% endif %}

{% trans "Files" %}

{% if historical %}

{% trans "History is not available for files" %}

{% elif paper.main_file or paper.files.count > 0 %} {% else %}

{% trans "No files attached" %}

{% endif %}
{% if consultations|length > 0 %}

{% trans "Consultations" %}

{% for consultation in consultations %}
{{ consultation.meeting.start|date }}
{% with consultation.single_agenda_item as item %} {% if item %}
{% if consultation.title %}
{{ consultation.title }}
{% endif %} {% if item %}
{{ item.meeting.name }}
{{ item.key }}. {{ item.name|linebreaksbr }}
{% if item.result %}
{{ item.result }}
{% endif %} {% if item.public != None %}
{% trans "public agenda item" %}
{% else %}
{% trans "non-public agenda item" %}
{% endif %} {% endif %}
{% elif consultation.title %}
{{ consultation.title }}
{% else %}
{% trans "No information available" %}
{% endif %} {% endwith %}
{% endfor %}
{% endif %}
{% endblock %}