Fix.
[cascardo/eventmanager.git] / templates / programacao.html
index 728e1ca..ad5b54b 100644 (file)
@@ -5,6 +5,14 @@
 
 <!--<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 />
         <span style="font-weight:bolder;margin-left:15px">Palestrante{{ p.palestrante.all|pluralize }}:</span>
             {% for x in p.palestrante.all %}
         <span style="margin-left:30px">
             <a href="/palestrante/{{x.id}}/">{{x.nome|capfirst}} </a>{% ifnotequal p.palestrante.all|length 1%}<br /> {% endifnotequal %}
+           {{p.time_start}}-{{p.time_end}}
+           <br />
+           {% ifequal p.room 0 %}
+             Auditório
+           {% else %}
+             Sala {{p.room}}
+           {% endif %}
         </span>
             {% endfor %}
         <br />