{% extends 'main/layout.html' %} {% load static %} {% load crispy_forms_tags %} {% block title %}{{title}}{% endblock title %} {% block content %} {% include 'report/sidebar.html' %}
{{title}}
{% ifequal user.groups.all.0.name 'admin' %}
Admin Nasional MAE
{% endifequal %} {% ifequal user.groups.all.0.name 'xefe' %}
Xefe Suku {{user.employeeuser.employee.village}}
{% endifequal %} {% ifequal user.groups.all.0.name 'sec' %}
Secretariado Suku {{user.employeeuser.employee.village}}
{% endifequal %}

{{title}}

{% comment %}
{% crispy form %}
{% endcomment %}
{% csrf_token %}
{% comment %}
{% endcomment %}

{% comment %} COUNT DISPLAY {% endcomment %}
{% if mun and adm and vill and year %}
{{project_count}}
Projetus
{% elif mun and adm and vill %}
{{project_count}}
Projetus
{% elif mun and adm and year %}
{{project_count}}
Projetus
{% elif mun and year %}
{{project_count}}
Projetus
{% elif mun and adm %}
{{project_count}}
Projetus
{% elif mun %}
{{project_count}}
Projetus
{% elif year %}
{{project_count}}
Projetus
{% else %}
{{project_count}}
Projetus
{% endif %}
{% if mun and adm and vill and year %}
{{activity_count}}
Atividades
{% elif mun and adm and vill %}
{{activity_count}}
Atividades
{% elif mun and adm and year %}
{{activity_count}}
Atividades
{% elif mun and year %}
{{activity_count}}
Atividades
{% elif mun and adm %}
{{activity_count}}
Atividades
{% elif mun %}
{{activity_count}}
Atividades
{% elif year %}
{{activity_count}}
Atividades
{% else %}
{{activity_count}}
Atividades
{% endif %}

Projetus

{% if page == 'municipality' %} {% elif page == 'adminpost' %} {% elif page == 'munyear' %} {% elif page == 'munadminpostyear' %} {% elif page == 'year' %} {% else %} {% endif %}

Atividades

{% if page == 'municipality' %} {% elif page == 'adminpost' %} {% elif page == 'munyear' %} {% elif page == 'munadminpostyear' %} {% elif page == 'year' %} {% else %} {% endif %}
{% include 'main/footer.html' %} {% endblock content %} {% block scripts %} {% endblock scripts %}