{% extends "layout.html" %} {% import "_paging.html" as paging %} {% import "gestion/macros.html" as objetivos %} {% block content %}
{% for hijo in root.hijos if hijo.visible() %}
{% if hijo.tipo %}

{{ hijo.nombre }}

{% else %}

{{ hijo.nombre }}

{% endif %} {% if hijo.is_manager %} {% endif %}
{% for nieto in hijo.hijos %}
{{ objetivos.directorio_li( nieto, label, single=True ) }}
{% endfor %}
{% else %}
Este mensaje no debería mostrarse.
{% endfor %}
{% endblock content %} {% block js %} {% for hijo in root.hijos if hijo.visible %} {{ objetivos.show_js(hijo, redirect=url_for('gestion.documentos'), invitado=True) }} {% endfor %} {{ objetivos.docu_js(redirect=url_for('gestion.documentos'), invitado=True) }} {% endblock %}