28 lines
845 B
HTML
28 lines
845 B
HTML
{% extends "base.html" %}
|
|
{% load jci_extras %}
|
|
|
|
{% block "content" %}
|
|
|
|
{% if sections %}
|
|
{% for section in sections %}
|
|
<h2>{{section}}</h2>
|
|
{% if section.headlines.all %}
|
|
{% for headline in section.headlines.all %}
|
|
<h3>{{ headline }}</h3>
|
|
{% if headline.standards.all %}
|
|
<table>
|
|
{% for std in headline.standards.all %}
|
|
<tr>
|
|
<td><a href="{% url 'standard_details' std.pk %}">{{std}}</a></td>
|
|
<td>{{std.name}}</td>
|
|
<td><a href="{% url 'standard_documents' std.pk %}">{% count_documents std %}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</table>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% endblock %} |