2017-09-19 14:30:56 +02:00
|
|
|
{% load jci_extras %}
|
|
|
|
|
2017-09-20 11:28:57 +02:00
|
|
|
{% if sections %}
|
|
|
|
<ul>
|
|
|
|
{% for section in sections %}
|
|
|
|
<li>{{section}}
|
|
|
|
{% if section.headlines.all %}
|
|
|
|
<ul>
|
|
|
|
{% for headline in section.headlines.all %}
|
|
|
|
<li>{{headline}}
|
|
|
|
{% if headline.standards.all %}
|
|
|
|
<ul>
|
|
|
|
{% for std in headline.standards.all %}
|
2017-09-20 15:34:03 +02:00
|
|
|
<li>{{std}} - {{std.name}} {% count_documents std %} </li>
|
2017-09-20 11:28:57 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|