More style cleanup.
[cascardo/eventmanager.git] / templates / programacao.html
index 728e1ca..09073d3 100644 (file)
@@ -5,8 +5,24 @@
 
 <!--<h2>{{ dados_usuario.nome }}</h2>-->
     {% for p in aprovadas %}
+    {% ifchanged p.dia %}
+      <br />
+      <br />
+      <h3>
+        {{ p.dia|date:"l, d \de F" }}
+      </h3>
+      <br />
+    {% endifchanged %}
     <span style="font-size:12pt"><a href="/palestra/{{p.id}}/" style="color:#333;">{{p.titulo}}</a></span>
         <br />
+        {{p.time_start}}-{{p.time_end}}
+         <br />
+         {% ifequal p.room 0 %}
+         Auditório
+         {% else %}
+         Sala {{p.room}}
+         {% endifequal %}
+         <br />
         <span style="font-weight:bolder;margin-left:15px">Palestrante{{ p.palestrante.all|pluralize }}:</span>
         <br />
             {% for x in p.palestrante.all %}