{% import "macros.html" as macros %} {% set config = config() %} {{ macros.headertags() }} {{ config.titulo }} {{ macros.local_style() }} {{ macros.navbar() }}
{{ macros.notify() }}

{{ config.titulo }}

{{ config.descripcion }}

{% if cursos.total > 0 %}
{% for curso in cursos.items %}
{% if curso.portada %} {{ curso.nombre }} {% else %} {{ curso.nombre }} {{ curso.nombre }} {% endif %}
{{ curso.nombre }} {% if curso.nivel == 0 %} {{ curso.nombre }} {% elif curso.nivel == 1 %} {{ curso.nombre }} {% elif curso.nivel == 2 %} {{ curso.nombre }} {% elif curso.nivel == 3 %} {{ curso.nombre }} {% endif %}
{{ curso.descripcion | truncate(120) }}
{% if curso.duracion %} {{ curso.duracion }} mins {% endif %} {% if curso.precio %} {{ curso.precio | float }} {{ config.moneda }} {% else %} Gratis {% endif %}
{% endfor %}

{{ cursos.total }} cursos disponibles.

{% if cursos.has_prev %} Anterior {% endif %} Página {{ cursos.page }} de {{ cursos.pages }} {% if cursos.has_next %} Siguiente {% endif %}
{% else %}
{% if current_user.is_authenticated %} Crear Curso {% else %}

No hay cursos disponibles en este momento.

{% endif %}
{% endif %}