30 lines
1007 B
Twig
30 lines
1007 B
Twig
|
<div class="item item-list" style="background-color: var(--colorbgbodydark);">
|
||
|
<div class="item-container">
|
||
|
<div class="item-content">
|
||
|
<div class="item-link">
|
||
|
<img height="35" src="/medias/file/dir.png">
|
||
|
|
||
|
<div class="item-title">
|
||
|
<h3>{{ documentcategory.label }}</h3>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="item-childs" style="width:100%">
|
||
|
{% if not documentcategory.childs is empty %}
|
||
|
{% for documentcategory in documentcategory.childs %}
|
||
|
{% if loop.first %}<div style="height:5px"> </div>{%endif%}
|
||
|
{{ render(path("app_"~access~"_document_render",{idcategory:documentcategory.id,access:access})) }}
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
|
||
|
{% if not documentcategory.documents is empty %}
|
||
|
{% for document in documentcategory.documents %}
|
||
|
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
</div>
|
||
|
|