{% extends "main/layout.html" %} {% load crispy_forms_tags %} {% block title %}{{title}}{% endblock title %} {% block content %} {% if group == 'admin' %} {% include 'report/sidebar.html' %} {% else %} {% include 'development/sidebar.html' %} {% endif %}
{{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 %}
{% if messages %} {% for message in messages %}
{{message}}
{% endfor %} {% endif %}
{{title}}
{% if group == 'sec' or group == 'xefe' %} Adisiona {% endif %} {% if group == 'admin' %} {% if municipality and post and village and year %} Imprimi Export ba Excel {% elif municipality and post and village %} Imprimi Exporta ba Excel {% elif municipality and post and year %} Imprimi Exporta ba Excel {% elif municipality and post %} Imprimi Exporta ba Excel {% elif municipality and year %} Imprimi Exporta ba Excel {% elif municipality %} Imprimi Exporta ba Excel {% elif year %} Imprimi Exporta ba Excel {% else %} Imprimi Exporta ba Excel {% endif %} {% endif %}
{% if group == 'admin' %} {% endif %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% for obj in objects %} {% if group == 'admin' %} {% endif %} {% endfor %}
Nú. Naran Atividade Data FatinMunisípiu Postu SukuTinanFundus HusiTotal
Asaun
{{ forloop.counter }} {{ obj.name }} {{ obj.date|date:"d-M-Y" }} {{ obj.place }}{{ obj.municipality }} {{ obj.administrativepost }} {{ obj.village }}{{ obj.year }}
{% if group == "sec" %}
{% endif %}
{% comment %} END PAGE {% endcomment %}
{% include 'main/footer.html' %} {% endblock %} {% block scripts %} {% endblock %}