{% extends "community/_base.html" %}

{% from "macros/box.html" import m_box_content, m_box_menu %}
{% from "macros/recent.html" import m_recent_items with context %}

{% from "documents/_macros_gallery_view.html" import m_docs_table, m_breadcrumbs2 with context %}

{% block documentcontent %}
  <div class="col-md-12">
    <div style="margin: 5px 0;">
      <i class="fa fa-folder-open-o fa-large"></i>
      {{ m_breadcrumbs2(breadcrumbs) }}
    </div>

    <hr>

    {%- if folder.description %}
      <p>{{ folder.description }}</p>
      <p>&nbsp;</p>
    {%- endif %}

    {{ m_docs_table(children, True) }}
  </div>
{% endblock %}

<br><br>
{% block modals %}
  {% include "documents/_modals_folder.html" %}
{% endblock %}
