<commit_before>{% extends 'foirequest/base.html' %}
{% load url from future %}
{% load i18n %}
{% load markup %}
{% load comments %}
{% load floppyforms %}
{% load foirequest_tags follower_tags account_tags %}

{% block title %}{{ object.title }}{% endblock %}

{% block metadescription %}{{ object.description }}{% endblock %}


{% block extra_head %}
<link rel="self" type="text/html" href="{% url 'foirequest-show' slug=object.slug %}"/>
<link rel="canonical" href="{% url 'foirequest-show' slug=object.slug %}"/>
<link href="{% url 'foirequest-feed' slug=object.slug %}" rel="alternate nofollow" type="application/rss+xml" title="{% blocktrans with title=object.title %}RSS Feed for request '{{ title }}'{% endblocktrans %}">
<link rel="alternate nofollow" type="application/atom+xml" title="{% blocktrans with title=object.title %}Atom feed for request '{{ title }}'{% endblocktrans %}" href="{% url 'foirequest-feed_atom' slug=object.slug %}" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/print-request.css" type="text/css" media="print" />
{% endblock %}

{% block body %}

{% if not user.is_authenticated and object.awaits_classification %}
  {% url "account-login" as login_url %}
  <div class="alert alert-info no-print">{% blocktrans with login_url=login_url %}This request received a reply and is in an unknown state. If you created this request, please <a href="{{ login_url }}">log in</a> and set a new status.{% endblocktrans %}</div>
{% endif %}

{% if object.user == user and object.awaits_classification %}
  <div class="alert alert-info no-print">{% blocktrans with name=user.get_full_name %}<b>Hey {{ name }}</b>, please read the latest response and <a href="#set-status" data-tabgo="tab">set a new status for this request</a>!{% endblocktrans %}</div>
{% endif %}

{% if object.user == user and object.is_overdue and object.awaits_response %}
  <div class="alert no-print">
    {% blocktrans with name=user.get_full_name %}<b>Hey {{ name }}</b>, your request is <b>overdue</b>!<br/>
    Please act now:{% endblocktrans %}
    <ul>
      <li>
        {% blocktrans %}Have you received a reply by <b>postal mail</b>? &rarr; <a data-tabgo="tab" href="#add-postal-reply">Add it to the records below!</a>{% endblocktrans %}
      </li>
      <li>
        {% blocktrans %}Have you not gotten any reply? &rarr; <a data-tabgo="tab" href="#write-message">Write a reminder to the public body!</a>{% endblocktrans %}
      </li>
    </ul>
  </div>
{% endif %}

{% if object.user == user and object.has_been_refused and object.law.mediator %}
  <div class="alert alert-info no-print">
    {% blocktrans %}You request has been refused.{% endblocktrans %}
    <a href="#escalate" data-tabgo="tab">{% blocktrans %}Consider sending a letter to a mediator{% endblocktrans %}</a>
  </div>
{% endif %}<commit_msg>Insert header indicating privacy of request<commit_after>{% extends 'foirequest/base.html' %}
{% load url from future %}
{% load i18n %}
{% load markup %}
{% load comments %}
{% load floppyforms %}
{% load foirequest_tags follower_tags account_tags %}

{% block title %}{{ object.title }}{% endblock %}

{% block metadescription %}{{ object.description }}{% endblock %}


{% block extra_head %}
<link rel="self" type="text/html" href="{% url 'foirequest-show' slug=object.slug %}"/>
<link rel="canonical" href="{% url 'foirequest-show' slug=object.slug %}"/>
<link href="{% url 'foirequest-feed' slug=object.slug %}" rel="alternate nofollow" type="application/rss+xml" title="{% blocktrans with title=object.title %}RSS Feed for request '{{ title }}'{% endblocktrans %}">
<link rel="alternate nofollow" type="application/atom+xml" title="{% blocktrans with title=object.title %}Atom feed for request '{{ title }}'{% endblocktrans %}" href="{% url 'foirequest-feed_atom' slug=object.slug %}" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/print-request.css" type="text/css" media="print" />
{% endblock %}

{% block body %}

{% if not object.public %}
 <div class="alert no-print">
  {% blocktrans %}This request is currently not public. Please consider making it public eventually.{% endblocktrans %}
</div>
{% endif %}

{% if not user.is_authenticated and object.awaits_classification %}
  {% url "account-login" as login_url %}
  <div class="alert alert-info no-print">{% blocktrans with login_url=login_url %}This request received a reply and is in an unknown state. If you created this request, please <a href="{{ login_url }}">log in</a> and set a new status.{% endblocktrans %}</div>
{% endif %}

{% if object.user == user and object.awaits_classification %}
  <div class="alert alert-info no-print">{% blocktrans with name=user.get_full_name %}<b>Hey {{ name }}</b>, please read the latest response and <a href="#set-status" data-tabgo="tab">set a new status for this request</a>!{% endblocktrans %}</div>
{% endif %}

{% if object.user == user and object.is_overdue and object.awaits_response %}
  <div class="alert no-print">
    {% blocktrans with name=user.get_full_name %}<b>Hey {{ name }}</b>, your request is <b>overdue</b>!<br/>
    Please act now:{% endblocktrans %}
    <ul>
      <li>
        {% blocktrans %}Have you received a reply by <b>postal mail</b>? &rarr; <a data-tabgo="tab" href="#add-postal-reply">Add it to the records below!</a>{% endblocktrans %}
      </li>
      <li>
        {% blocktrans %}Have you not gotten any reply? &rarr; <a data-tabgo="tab" href="#write-message">Write a reminder to the public body!</a>{% endblocktrans %}
      </li>
    </ul>
  </div>
{% endif %}

{% if object.user == user and object.has_been_refused and object.law.mediator %}
  <div class="alert alert-info no-print">
    {% blocktrans %}You request has been refused.{% endblocktrans %}
    <a href="#escalate" data-tabgo="tab">{% blocktrans %}Consider sending a letter to a mediator{% endblocktrans %}</a>
  </div>
{% endif %}
{'fraction_non_alphanumeric': 0.17720224910546942, 'fraction_numerical': 0.0006815471119441132, 'mean_word_length': 4.6388088376561, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1554978', 'n_tokens_mistral': 2031, 'n_tokens_neox': 1835, 'n_words': 565}