Added comments to standard_detail.html

This commit is contained in:
2025-10-14 10:26:34 +02:00
parent db06ae0630
commit 2aaab3b3d4
3 changed files with 11 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ spec:
mountPath: /data mountPath: /data
containers: containers:
- name: web - name: web
image: git.baumann.gr/adebaumann/vui:0.926 image: git.baumann.gr/adebaumann/vui:0.927
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8000 - containerPort: 8000

View File

@@ -28,6 +28,6 @@
<div class="flex-fill">{% block content %}Main Content{% endblock %}</div> <div class="flex-fill">{% block content %}Main Content{% endblock %}</div>
<div class="col-md-2">{% block sidebar_right %}{% endblock %}</div> <div class="col-md-2">{% block sidebar_right %}{% endblock %}</div>
</div> </div>
<div>VorgabenUI v0.926</div> <div>VorgabenUI v0.927</div>
</body> </body>
</html> </html>

View File

@@ -5,27 +5,32 @@
{% if standard.history == True %} {% if standard.history == True %}
<h2>Version vom {{ standard.check_date }}</h2> <h2>Version vom {{ standard.check_date }}</h2>
{% endif %} {% endif %}
<!-- Autoren, Prüfende etc. -->
<p><strong>Autoren:</strong> {{ standard.autoren.all|join:", " }}</p> <p><strong>Autoren:</strong> {{ standard.autoren.all|join:", " }}</p>
<p><strong>Prüfende:</strong> {{ standard.pruefende.all|join:", " }}</p> <p><strong>Prüfende:</strong> {{ standard.pruefende.all|join:", " }}</p>
<p><strong>Gültigkeit:</strong> {{ standard.gueltigkeit_von }} bis {{ standard.gueltigkeit_bis }}</p> <p><strong>Gültigkeit:</strong> {{ standard.gueltigkeit_von }} bis {{ standard.gueltigkeit_bis }}</p>
<!-- Start Einleitung -->
{% if standard.einleitung_html %} {% if standard.einleitung_html %}
<h2>Einleitung</h2> <h2>Einleitung</h2>
{% for typ, html in standard.einleitung_html %} {% for typ, html in standard.einleitung_html %}
<div>{{ html|safe }}</div> <div>{{ html|safe }}</div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<!-- End Einleitung -->
<!-- Start Geltungsbereich -->
{% if standard.geltungsbereich_html %} {% if standard.geltungsbereich_html %}
<h2>Geltungsbereich</h2> <h2>Geltungsbereich</h2>
{% for typ, html in standard.geltungsbereich_html %} {% for typ, html in standard.geltungsbereich_html %}
<div>{{ html|safe }}</div> <div>{{ html|safe }}</div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<!-- End Geltungsbereich -->
<h2>Vorgaben</h2> <h2>Vorgaben</h2>
{% for vorgabe in vorgaben %} {% for vorgabe in vorgaben %}
<!-- Start Vorgabe -->
{% if standard.history == True or vorgabe.long_status == "active" %} {% if standard.history == True or vorgabe.long_status == "active" %}
<a id="{{ vorgabe.Vorgabennummer }}"></a><div class="card mb-4"> <a id="{{ vorgabe.Vorgabennummer }}"></a><div class="card mb-4">
{% if vorgabe.long_status == "active"%} {% if vorgabe.long_status == "active"%}
@@ -46,7 +51,7 @@
</div> </div>
<div class="card-body p-0"> <div class="card-body p-0">
<!-- Start Kurztext -->
{% comment %} KURZTEXT BLOCK {% endcomment %} {% comment %} KURZTEXT BLOCK {% endcomment %}
{% if vorgabe.kurztext_html.0.1 %} {% if vorgabe.kurztext_html.0.1 %}
<div class="p-3 mb-3 bg-light border-3" style="width: 100%;"> <div class="p-3 mb-3 bg-light border-3" style="width: 100%;">
@@ -57,13 +62,14 @@
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}
<!-- Langtext -->
<div class="p-3 mb-3"> <div class="p-3 mb-3">
{% comment %} LANGTEXT BLOCK {% endcomment %} {% comment %} LANGTEXT BLOCK {% endcomment %}
{# <h5>Langtext</h5> #} {# <h5>Langtext</h5> #}
{% for typ, html in vorgabe.langtext_html %} {% for typ, html in vorgabe.langtext_html %}
{% if html %}<div class="mb-3">{{ html|safe }}</div>{% endif %} {% if html %}<div class="mb-3">{{ html|safe }}</div>{% endif %}
{% endfor %} {% endfor %}
<!-- Checklistenfragen -->
{% comment %} CHECKLISTENFRAGEN BLOCK {% endcomment %} {% comment %} CHECKLISTENFRAGEN BLOCK {% endcomment %}
<h5>Checklistenfragen</h5> <h5>Checklistenfragen</h5>
{% if vorgabe.checklistenfragen.all %} {% if vorgabe.checklistenfragen.all %}