<commit_before>{% extends "website/base.html" %}

{% block title %}Kamervraag - {{ kamervraag.document.title_short }} - {{ kamervraag.vraagnummer }} - Tweede Kamer {{ block.super }}{% endblock %}

{% block content %}

<div class="row">
  <div class="col-lg-8 col-lg-offset-2">

    <div align="center"><h4 class="text-info">Kamervraag {{ kamervraag.vraagnummer }}</h4>
      <h4>{{ kamervraag.document.title_short }}</h4>
    </div>

    <table class="table table-condensed table-striped">
      <tbody>
        <tr>
          <th>Ingediend:</th>
          <td>{{ kamervraag.document.date_published }}</td>
        </tr>
        {% if kamervraag.kamerantwoord %}
        <tr>
          <th>Beantwoord:</th>
          <td>{{ kamervraag.kamerantwoord.document.date_published }} (na {{ kamervraag.duration }} dagen)</td>
        </tr>
        {% endif %}
        <tr>
          <th>Indiener{% if kamervraag.document.submitters|length > 1 %}s{% endif %}:</th>
          {% with submitters=kamervraag.document.submitters %}
          <td>{% include "document/items/submitters_list.html" %}</td>
          {% endwith %}
        </tr>
        {% if kamervraag.kamerantwoord %}
        <tr>
          <th>Beantwoord door:</th>
          {% with submitters=kamervraag.kamerantwoord.document.submitters %}
          <td>{% include "document/items/submitters_list.html" %}</td>
          {% endwith %}
        </tr>
        {% endif %}
        <tr>
          <th>Onderwerpen:</th>
          <td>{% with categories=kamervraag.document.categories.all %}{% include "document/items/category_list.html" %}{% endwith %}</td>
        </tr>
        <tr>
          <th>Bron vraag:</th>
          <td style="word-break:break-all;"><a href="{{ kamervraag.document.document_url }}">{{ kamervraag.document.document_url }}</a></td>
        </tr>
        {% if kamervraag.kamerantwoord %}
        <tr>
          <th>Bron antwoord:</th>
          <td style="word-break:break-all;"><a href="{{ kamervraag.kamerantwoord.document.document_url }}">{{ kamervraag.kamerantwoord.document.document_url }}</a></td>
        </tr>
        {% endif %}
      </tbody>
    </table>

  </div>
</div>

<div class="row">
  <div class="col-lg-8 col-lg-offset-2">

    {% if kamervraag.document.footnote_set.exists %}
      {% with footnotes=kamervraag.document.footnote_set.all %}
      {% include 'document/items/footnote_panel.html' %}
      {% endwith %}
    {% endif %}

    <ul class="list-group">
    {% for vraag in kamervraag.vragen %}
      <li class="list-group-item">
          <h5 class="text-info">Vraag {{ vraag.nr }}</h5>
          <strong>{{ vraag.text }}</strong>
        {% if vraag.antwoord %}
          <br/>
          <br/>
          {{ vraag.antwoord.text }}
        {% endif %}
      </li>
    {% endfor %}
    </ul>
  </div>
</div>

{% endblock %}<commit_msg>add kamervraag and kamerantwoord document numbers to kamervraag page<commit_after>{% extends "website/base.html" %}

{% block title %}Kamervraag - {{ kamervraag.document.title_short }} - {{ kamervraag.vraagnummer }} - Tweede Kamer {{ block.super }}{% endblock %}

{% block content %}

<div class="row">
  <div class="col-lg-8 col-lg-offset-2">

    <div align="center"><h4 class="text-info">Kamervraag {{ kamervraag.vraagnummer }}</h4>
      <h4>{{ kamervraag.document.title_short }}</h4>
    </div>

    <table class="table table-condensed table-striped">
      <tbody>
        <tr>
          <th>Ingediend:</th>
          <td>{{ kamervraag.document.date_published }}</td>
        </tr>
        {% if kamervraag.kamerantwoord %}
        <tr>
          <th>Beantwoord:</th>
          <td>{{ kamervraag.kamerantwoord.document.date_published }} (na {{ kamervraag.duration }} dagen)</td>
        </tr>
        {% endif %}
        <tr>
          <th>Indiener{% if kamervraag.document.submitters|length > 1 %}s{% endif %}:</th>
          {% with submitters=kamervraag.document.submitters %}
          <td>{% include "document/items/submitters_list.html" %}</td>
          {% endwith %}
        </tr>
        {% if kamervraag.kamerantwoord %}
        <tr>
          <th>Beantwoord door:</th>
          {% with submitters=kamervraag.kamerantwoord.document.submitters %}
          <td>{% include "document/items/submitters_list.html" %}</td>
          {% endwith %}
        </tr>
        {% endif %}
        <tr>
          <th>Onderwerpen:</th>
          <td>{% with categories=kamervraag.document.categories.all %}{% include "document/items/category_list.html" %}{% endwith %}</td>
        </tr>
        <tr>
          <th>Bron vraag:</th>
          <td style="word-break:break-all;"><a href="{{ kamervraag.document.document_url }}">{{ kamervraag.document.document_url }}</a></td>
        </tr>
        {% if kamervraag.kamerantwoord %}
        <tr>
          <th>Bron antwoord:</th>
          <td style="word-break:break-all;"><a href="{{ kamervraag.kamerantwoord.document.document_url }}">{{ kamervraag.kamerantwoord.document.document_url }}</a></td>
        </tr>
        {% endif %}
      </tbody>
    </table>

  </div>
</div>

<div class="row">
  <div class="col-lg-8 col-lg-offset-2">

    {% if kamervraag.document.footnote_set.exists %}
      {% with footnotes=kamervraag.document.footnote_set.all %}
      {% include 'document/items/footnote_panel.html' %}
      {% endwith %}
    {% endif %}

    <ul class="list-group">
    {% for vraag in kamervraag.vragen %}
      <li class="list-group-item">
          <h5 class="text-info">Vraag {{ vraag.nr }}</h5>
          <strong>{{ vraag.text }}</strong>
        {% if vraag.antwoord %}
          <br/>
          <br/>
          {{ vraag.antwoord.text }}
        {% endif %}
      </li>
    {% endfor %}
    </ul>
  </div>
</div>

<div class="row">
  <div class="col-lg-8 col-lg-offset-2">
    <h6 class="small">Kamervraag document nummer: {{ kamervraag.document.document_id }}</h6>
    {% if kamervraag.kamerantwoord %}
    <h6 class="small">Kamerantwoord document nummer: {{ kamervraag.kamerantwoord.document.document_id }}</h6>
    {% endif %}
  </div>
</div>

{% endblock %}
{'fraction_non_alphanumeric': 0.18486147757255936, 'fraction_numerical': 0.004617414248021108, 'mean_word_length': 2.3901621017328116, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '241410', 'n_tokens_mistral': 2266, 'n_tokens_neox': 2148, 'n_words': 344}