{% extends "base.html" %} {% block title %}{{ standard }}{% endblock %} {% block content %}

{{ standard.nummer }} – {{ standard.name }}

{% if standard.history == True %}

Version vom {{ standard.check_date }}

{% endif %}

Autoren: {{ standard.autoren.all|join:", " }}

Prüfende: {{ standard.pruefende.all|join:", " }}

Gültigkeit: {{ standard.gueltigkeit_von }} bis {{ standard.gueltigkeit_bis|default_if_none:"auf weiteres" }}

JSON herunterladen

{% if standard.einleitung_html %}

Einleitung

{% for typ, html in standard.einleitung_html %}
{{ html|safe }}
{% endfor %} {% endif %} {% if standard.geltungsbereich_html %}

Geltungsbereich

{% for typ, html in standard.geltungsbereich_html %}
{{ html|safe }}
{% endfor %} {% endif %}

Vorgaben

{% for vorgabe in vorgaben %} {% if standard.history == True or vorgabe.long_status == "active" %}
{% if vorgabe.long_status == "active"%}
{% elif standard.history == True %}
{% endif %}

{{ vorgabe.Vorgabennummer }} – {{ vorgabe.titel }} {% if vorgabe.long_status != "active" and standard.history == True %} ({{ vorgabe.long_status}}){% endif %}

{% if vorgabe.relevanzset %} Relevanz: {{ vorgabe.relevanzset|join:", " }} {% endif %} {{ vorgabe.thema }}
{% comment %} KURZTEXT BLOCK {% endcomment %} {% if vorgabe.kurztext_html.0.1 %}
{% for typ, html in vorgabe.kurztext_html %} {% if html %}
{{ html|safe }}
{% endif %} {% endfor %}
{% endif %}
{% comment %} LANGTEXT BLOCK {% endcomment %} {#
Langtext
#} {% for typ, html in vorgabe.langtext_html %} {% if html %}
{{ html|safe }}
{% endif %} {% endfor %} {% comment %} CHECKLISTENFRAGEN BLOCK {% endcomment %}
Checklistenfragen
{% if vorgabe.checklistenfragen.all %}
    {% for frage in vorgabe.checklistenfragen.all %}
  • {{ frage.frage }}
  • {% endfor %}
{% else %}

Keine Checklistenfragen

{% endif %} {% comment %} STICHWORTE + REFERENZEN AT BOTTOM {% endcomment %}
Stichworte: {% if vorgabe.stichworte.all %} {% for s in vorgabe.stichworte.all %} {{ s }}{% if not forloop.last %}, {% endif %} {% endfor %} {% else %} Keine {% endif %}
Referenzen: {% if vorgabe.referenzpfade %} {% for ref in vorgabe.referenzpfade %} {{ ref|safe }}{% if not forloop.last %}, {% endif %} {% endfor %} {% else %} Keine {% endif %}
{% endif %} {% endfor %} {% endblock %}