diff --git a/dokumente/templates/standards/standard_detail.html b/dokumente/templates/standards/standard_detail.html index e4ff3da..526e29a 100644 --- a/dokumente/templates/standards/standard_detail.html +++ b/dokumente/templates/standards/standard_detail.html @@ -1,110 +1,181 @@ {% extends "base.html" %} -{% block title %}{{ standard }}{% endblock %} + +{% block title %}{{ standard.nummer }} – {{ standard.name }}{% endblock %} + {% block content %} -
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" }}
- +Keine Checklistenfragen
- {% endif %} - {% comment %} STICHWORTE + REFERENZEN AT BOTTOM {% endcomment %} -Keine Checklistenfragen
+ {% endif %} + + ++ 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 %} +
+