{% extends "base.html" %} {% load i18n %} {% load smart_if %} {% load comments i18n %} {% load app %} {% load oembed_tags %} {% block head_title %}{% trans "Evento" %}{% endblock %} {% block body %} {% if eventos.object_list %} {% for evento in eventos.object_list %} {% if evento.publicar %}
{% if evento.presentaciones %}

{{ evento.nombre }}

{% else %}

{{ evento.nombre }}

{% endif %}

{% trans "Publicado el" %} {{ evento.fecha }} {% trans "por" %} {{ evento.admin }}

{{ evento.resumen|wordwrap:"95" }} {% if evento.lugar %}
{% trans "Lugar:" %}
{{ evento.lugar|wordwrap:"95" }} {% endif %}
{% trans "Fecha:" %}
{% trans "desde" %} {{ evento.fecha_ini|date:"d/m/Y" }} {% trans "al" %} {{ evento.fecha_fin|date:"d/m/Y" }}

{% if evento.media_video %}
{% oembed 320x240 %} {{ evento.media_video }} {% endoembed %} {% endif %} {% if evento.patrocinador_set.all %}

{% trans "Patrocinadores:" %}

{% for patrocinador in evento.patrocinador_set.all %}   {{ patrocinador.nombre }} {% endfor %}

{% endif %}
{% endif %} {%endfor%} {% else %}

{% trans "No se encuentran Eventos" %}

{% endif %} {% endblock %} {% block pagination %}
{% if eventos.has_previous %} {% trans "Anterior" %}  {% endif %} {% if rango_paginas %} {% for p in rango_paginas %} {% ifnotequal eventos.number p %} {{p}} {% else %} {{p}} {% endifnotequal %} {% endfor %} {% endif %} {% if eventos.has_next %}  {% trans "Siguiente" %} {% endif %}
{% endblock %}