{% extends "enap_designsystem/base.html" %} {% load static %} {% load wagtailcore_tags wagtailimages_tags %} {% load math_tags %} {% block metadata %} {% comment %} {% endcomment %} {% endblock %} {% block title %} {{ page.page_title }} {% endblock %} {%block govnavbar %}
{% endblock %} {% block navbar %} {% if page.navbar %} {% include "enap_designsystem/blocks/navbar/navbar_block.html" with navbar=page.navbar %} {% else %}

DEBUG: Nenhuma Navbar foi definida.

{% endif %} {% endblock %} {% block content %}
{% if tipo == "cursos" %}
{% with pagination.current_page|add:"-1" as page_offset %} {% with page_offset|add:"0"|mul:10 as start %} {% with start|add:"1" as start_display %} {% with start_display|add:results|length|add:"-1" as end_display %}
{{ pagination.start_display }} - {{ pagination.end_display }} de {{ results_count }} resultados encontrados
{% endwith %} {% endwith %} {% endwith %} {% endwith %}
« {% for num in pagination.pages %} {{ num }} {% endfor %} »
{% elif tipo == "servicos" %}
{% with pagination.current_page|add:"-1" as page_offset %} {% with page_offset|add:"0"|mul:10 as start %} {% with start|add:"1" as start_display %} {% with start_display|add:results|length|add:"-1" as end_display %}
{{ pagination.start_display }} - {{ pagination.end_display }} de {{ results_count }} resultados encontrados
{% endwith %} {% endwith %} {% endwith %} {% endwith %}
« {% for num in pagination.pages %} {{ num }} {% endfor %} »
{% elif tipo == "noticias" %}
{% with pagination.current_page|add:"-1" as page_offset %} {% with page_offset|add:"0"|mul:10 as start %} {% with start|add:"1" as start_display %} {% with start_display|add:results|length|add:"-1" as end_display %}
{{ pagination.start_display }} - {{ pagination.end_display }} de {{ results_count }} resultados encontrados
{% endwith %} {% endwith %} {% endwith %} {% endwith %}
« {% for num in pagination.pages %} {{ num }} {% endfor %} »
{% elif tipo == "pesquisa_conhecimento" %}
{% with pagination.current_page|add:"-1" as page_offset %} {% with page_offset|add:"0"|mul:10 as start %} {% with start|add:"1" as start_display %} {% with start_display|add:results|length|add:"-1" as end_display %}
{{ pagination.start_display }} - {{ pagination.end_display }} de {{ results_count }} resultados encontrados
{% endwith %} {% endwith %} {% endwith %} {% endwith %}
« {% for num in pagination.pages %} {{ num }} {% endfor %} »
{% elif tipo == "eventos" %}
{% with pagination.current_page|add:"-1" as page_offset %} {% with page_offset|add:"0"|mul:10 as start %} {% with start|add:"1" as start_display %} {% with start_display|add:results|length|add:"-1" as end_display %}
{{ pagination.start_display }} - {{ pagination.end_display }} de {{ results_count }} resultados encontrados
{% endwith %} {% endwith %} {% endwith %} {% endwith %}
« {% for num in pagination.pages %} {{ num }} {% endfor %} »
{% elif tipo == "todos" %}
{% with pagination.current_page|add:"-1" as page_offset %} {% with page_offset|add:"0"|mul:10 as start %} {% with start|add:"1" as start_display %} {% with start_display|add:results|length|add:"-1" as end_display %}
{{ pagination.start_display }} - {{ pagination.end_display }} de {{ results_count }} resultados encontrados
{% endwith %} {% endwith %} {% endwith %} {% endwith %}
« {% for num in pagination.pages %} {{ num }} {% endfor %} »
{% endif %}
{% endblock %} {% block footer %} {% include "enap_designsystem/includes/footer.html" %} {% endblock %} {% block scriptinline %} {% endblock %}