X-Git-Url: http://git.cascardo.info/?p=cascardo%2Feventmanager.git;a=blobdiff_plain;f=templates%2Fprogramacao.html;h=09073d3ee25fad54b644b2bea5214063fcc2db28;hp=9c99b4f4f066f4ceed47089a3791213a3c497c77;hb=e8a291f2b3c1ed27c1473f6be202a3c495f46d3a;hpb=0052f08cb17810c9e5b79df2c086109e58909c9b
diff --git a/templates/programacao.html b/templates/programacao.html
index 9c99b4f..09073d3 100644
--- a/templates/programacao.html
+++ b/templates/programacao.html
@@ -4,11 +4,34 @@
{% if aprovadas %}
-
{% for p in aprovadas %}
- - {{p.titulo}}
+ {% ifchanged p.dia %}
+
+
+
+ {{ p.dia|date:"l, d \de F" }}
+
+
+ {% endifchanged %}
+ {{p.titulo}}
+
+ {{p.time_start}}-{{p.time_end}}
+
+ {% ifequal p.room 0 %}
+ Auditório
+ {% else %}
+ Sala {{p.room}}
+ {% endifequal %}
+
+ Palestrante{{ p.palestrante.all|pluralize }}:
+
+ {% for x in p.palestrante.all %}
+
+ {{x.nome|capfirst}} {% ifnotequal p.palestrante.all|length 1%}
{% endifnotequal %}
+
+ {% endfor %}
+
{% endfor %}
-
{% else %}
Padre Quevedo 404