{% extends 'foirequest/base.html' %} {% load i18n %} {% load static %} {% load markup %} {% load foirequest_tags %} {% load form_helper %} {% load block_helper %} {% block title %}{{ object.title }}{% endblock %} {% block metadescription %}{{ object.description }}{% endblock %} {% block extra_head %} {% if not object.is_foi or object.same_as %} {% endif %} {% if object|can_write_foirequest:request %} {% with object.get_set_tags_form as set_tags_form %} {{ set_tags_form.media.css }} {% endwith %} {% endif %} {% endblock %} {% block app_body %} {% if not user.is_authenticated and object.awaits_classification and not object|can_read_foirequest_anonymous:request %} {% url "account-login" as login_url %}
{% blocktrans with login_url=login_url %}This request received a reply and is in an unknown state. If you created this request, please log in and set a new status.{% endblocktrans %}
{% endif %} {% if object|can_write_foirequest:request and object.awaits_classification %}
{% blocktrans with name=user.get_full_name %}Hey {{ name }}, please read the latest response and set a new status for this request!{% endblocktrans %}
{% endif %} {% if object|can_write_foirequest:request and object.is_overdue %}
{% blocktrans with name=user.get_full_name %}Hey {{ name }}, your request is overdue!
Please act now:{% endblocktrans %}
{% endif %} {% if object|can_write_foirequest:request and object.has_been_refused and object.law.mediator %}
{% blocktrans %}You request has been refused.{% endblocktrans %} {% blocktrans %}Consider sending a letter to a mediator{% endblocktrans %}
{% endif %} {% if not object.is_foi %}
{% blocktrans %}This request is not an FoI request. This site is only for requesting specific, non-personal information from public bodies.{% endblocktrans %}
{% endif %} {% if object.closed %}
{% blocktrans %}This request has been closed and cannot receive further messages.{% endblocktrans %}
{% endif %} {% block foirequest_header %}{% endblock %}

{{ object.title }}

{% if not object.public and object|can_read_foirequest_anonymous:request %}

{% trans "This request is not public!" %}

{% trans "You clicked a special URL that gave you access. Share this link responsibly." %}

{% endif %} {% if not object.public and object.is_foi and object|can_write_foirequest:request %}
{% csrf_token %}

{% blocktrans %}This request is not public at the moment.{% endblocktrans %}

{% endif %} {% if object|can_write_foirequest:request %}
{# Set status #}
{% if status_message %}

{% blocktrans with url=status_message.get_absolute_url %}Please read the reply and choose a new status {% endblocktrans %}

{% else %}

{% blocktrans %}Set a new status{% endblocktrans %}

{% endif %}
{% csrf_token %} {% if status_form %} {% include "foirequest/_set_status.html" %} {% else %} {% with status_form=object.get_status_form %} {% include "foirequest/_set_status.html" %} {% endwith %} {% endif %}
{# End Set status #} {% if object.status == "publicbody_needed" %}
{% with suggestions_form=object.public_body_suggestions_form %} {% if suggestions_form %}

{% blocktrans %}As the author of this request, please choose a public body from one of the suggestions:{% endblocktrans %}

{% csrf_token %} {{ suggestions_form }}
{% endif %} {% endwith %}
{% endif %} {# Escalate #} {% if object.law.mediator and object.can_be_escalated %}
{% csrf_token %}

{% blocktrans %}Ask for mediation for this request{% endblocktrans %}

{% blocktrans with entity=object.law.mediator.name %}You can file a complaint to the {{ entity }} if you think your request was not properly handled.{% endblocktrans %}

{% if escalation_form %} {% render_form escalation_form %} {% else %} {% with escalation_form=object.get_escalation_message_form %} {% render_form escalation_form %} {% endwith %} {% endif %}
{% if not object.public %} {% blocktrans %}Your request is currently not public, but will be made accessible to the mediator via the special link in the message.{% endblocktrans %} {% endif %}
{% endif %} {# End Escalate #} {# Make Meta Request #} {% if froide.can_make_meta_request and object.can_be_escalated %}
{% csrf_token %}

{% blocktrans %}Make a meta request{% endblocktrans %}

{% blocktrans with title=object.title %}By making a meta request you will make a normal FOI request for the internal communication related to the handling of your original request "{{ title }}". Please only make a meta request if you reasonably suspect an internal mishandling of your request.{% endblocktrans %}

{% endif %} {# End Make Meta Request #} {% if object.public_body %} {# Postal Reply #}
{% csrf_token %}

{% blocktrans %}Upload postal replies you received{% endblocktrans %}

{% if postal_reply_form %} {% render_form postal_reply_form %} {% else %} {% with postal_reply_form=object.get_postal_reply_form %} {% render_form postal_reply_form %} {% endwith %} {% endif %}
{% blocktrans %}You can attach more documents to this reply later.{% endblocktrans %}
{# End Postal Reply #} {# Postal Send #}
{% csrf_token %}

{% blocktrans %}Upload letters that you send via postal mail{% endblocktrans %}

{% if postal_message_form %} {% render_form postal_message_form %} {% else %} {% with postal_message_form=object.get_postal_message_form %} {% render_form postal_message_form %} {% endwith %} {% endif %}
{% blocktrans %}You can attach more documents to your letter later.{% endblocktrans %}
{# End Postal Send #} {# Reply #}
{% csrf_token %}

{% blocktrans %}Send message to public body{% endblocktrans %}

{% if object.is_overdue %}

{% blocktrans %}Your request is overdue. You should send a reminder to the Public Body!{% endblocktrans %}

{% else %}

{% blocktrans %}You can send another message to this Public Body if you want to.{% endblocktrans %}

{% endif %} {% block send_message_form_pre %}{% endblock %} {% if send_message_form %} {% render_form send_message_form %} {% else %} {% with send_message_form=object.get_send_message_form %} {% render_form send_message_form %} {% endwith %} {% endif %}
{% url "account-settings" as settings_url %} {% if object.user.address %} {% blocktrans with url=settings_url %}Your address (You can change your address here):{% endblocktrans %}
{{ object.user.address|linebreaksbr }} {% else %} {% blocktrans with url=settings_url %}You do not have a postal address set. You can enter enter an address here.{% endblocktrans %} {% endif %}

{% trans "If you need to provide an alternative email address, use this one:" %}
{% alternative_address object %}
{% trans "It will still go to your request here." %}

{# End Reply #} {% endif %} {# End if object.public_body #} {# If Meta Law #} {% if object.response_messages and object.law.meta %}

{% trans "Set Law" %}

{% csrf_token %}

{% blocktrans %}This request was made under multiple information laws. If it is apparent from the reply under which law the request was answered, please choose this law below. If it is not obvious, leave it as it is.{% endblocktrans %}

{{ object.get_concrete_law_form.as_p }}
{% endif %} {# Write Resolution #} {% if object.status_is_final %}

{% blocktrans %}Resolution Summary{% endblocktrans %}

{% csrf_token %}

{% blocktrans %}Have you received the information you need? What have you learned from it?{% endblocktrans %}


{% endif %} {% block request_action_pane_footer %}{% endblock %}
{% endif %}{# end {% if object|can_write_foirequest:request %} #}
{# Public Body Needed #} {% if object.status == "publicbody_needed" %}

{% blocktrans %}You can suggest a public body for this request.{% endblocktrans %} {% with suggestions=object.public_body_suggestions %} {% if suggestions %}
{% blocktrans %}The following public bodies have already been suggested:{% endblocktrans %} {% endif %}

    {% for suggestion in suggestions %}
  • {{ suggestion.public_body.name }} - {% blocktrans %}Details{% endblocktrans %} {% if suggestion.reason %}
    {% blocktrans %}Reason given by the user:{% endblocktrans %} {{ suggestion.reason }} {% endif %}
  • {% empty %}
  • {% blocktrans %}There are no suggestions yet{% endblocktrans %}
  • {% endfor %}
{% endwith %}
{% csrf_token %} {% with form=object.make_public_body_suggestion_form %} {{ form.public_body }} {% render_field form.reason %} {% endwith %}
{% endif %} {# End Public Body Needed #}
{% block request_details%}
{% blocktrans %}Request to:{% endblocktrans %}
{% if object.public_body %} {{ object.public_body.name }} {% else %} {% blocktrans %}Not yet known{% endblocktrans %} {% endif %}
{% if object.project %}
{% blocktrans %}Project:{% endblocktrans %}
{{ object.project.title }}
{% endif %} {% if object.law %} {% if object.law.meta %}
{% blocktrans %}Laws used:{% endblocktrans %}
    {% for law in object.law.combined.all %}
  • {{ law.name }}
  • {% endfor %}
{% else %}
{% blocktrans %}Law used:{% endblocktrans %}
{{ object.law.name }}
{% endif %} {% else %}
{% blocktrans %}Law used:{% endblocktrans %}
{% blocktrans %}Not yet set{% endblocktrans %}
{% endif %}
{% blocktrans %}Status of this request:{% endblocktrans %}
{{ object.readable_status }}
{% if object.awaits_response %}
{% blocktrans %}Due date:{% endblocktrans %}
{% if object.is_overdue %}
{{ object.due_date|date:"DATE_FORMAT" }} - {% blocktrans with due=object.due_date|timesince %}{{ due }} ago{% endblocktrans %} {% else %}
{{ object.due_date|date:"DATE_FORMAT" }} - {% blocktrans with due=object.due_date|timeuntil %}in {{ due }}{% endblocktrans %} {% endif %} {% block foirequest_explain_deadline %}{% endblock %}
{% endif %} {% if object.refusal_reason %}
{% blocktrans %}Refusal Reason{% endblocktrans %}
{{ object.refusal_reason }}
{% endif %} {% if object.costs > 0 %}
{% blocktrans %}Cost of information:{% endblocktrans %}
{{ object.costs|floatformat:2 }} {{ froide.currency }}
{% endif %} {% endblock request_details%} {% if object.description %}
{% blocktrans %}Summary of Request{% endblocktrans %}
{{ object.get_description|urlizetrunc:40|linebreaks }}
{% endif %} {% if object.summary %}
{% blocktrans %}Summary of Resolution{% endblocktrans %}
{{ object.summary|urlizetrunc:40|linebreaks }}
{% endif %}
{# Public Body Needed #} {% if object.status == "publicbody_needed" %}
{% blocktrans %}This request was not sent yet, because it still needs a Public Body as a recipient.{% endblocktrans %}
{% if not object.public %}
{% blocktrans %}This request is not public and will not receive suggestions for public bodies from users!{% endblocktrans %}
{% endif %} {% endif %} {# Unconfirmed Public Body #} {% if object.public_body and not object.public_body.confirmed %}
{% blocktrans %}The public body of this request has been created by the user and still needs to be confirmed.{% endblocktrans %}
{% endif %} {# End Unconfirmed Public Body #}
{% include "foirequest/snippets/sidebar.html" %}
{% if object|can_write_foirequest:request %}
{% endif %} {% block before_correspondence %} {% if object.not_publishable_message %} {% include "foirequest/snippets/make_same_request.html" %} {% endif %} {% endblock %}

{% blocktrans %}Messages in this request{% endblocktrans %}

{% if object.messages %} {% endif %}
{% for message in object.messages %} {% include "foirequest/snippets/message.html" %} {% if not forloop.last %}
{% endif %} {% empty %}

{% blocktrans %}No messages yet{% endblocktrans %}

{% endfor %} {% if object.same_as_count %}
{% blocktrans count counter=object.same_as_count %}One identical request{% plural %}{{ counter }} identical requests{% endblocktrans %}
{% endif %} {% if object.same_as %}

{% blocktrans %}This request is identical to:{% endblocktrans %} {{ object.same_as.title }}

{% endif %}
{% if object.is_blocked %}
{% trans "This request has been detected as spam and its messages are not sent." %}
{% endif %} {% endblock %} {% block scripts %} {{ block.super }} {% addtoblock "js" %} {% if object|can_write_foirequest:request %} {% with object.get_set_tags_form as set_tags_form %} {{ set_tags_form.media.js }} {% endwith %} {% endif %} {% endaddtoblock %} {% addtoblock "js" %} {% endaddtoblock %} {% addtoblock "js" %} {% endaddtoblock %} {% if request.user.is_authenticated %} {% addtoblock "js" %} {% endaddtoblock %} {% endif %} {% endblock %}