endfor was misplaced
[cascardo/eventmanager.git] / templates / programacao.html
index 0cf74a4..c67188d 100644 (file)
@@ -6,21 +6,35 @@
 <!--<h2>{{ dados_usuario.nome }}</h2>-->
     {% for p in aprovadas %}
     {% ifchanged p.dia %}
+      <br />
+      <br />
       <h3>
         {{ p.dia|date:"l, d \de F" }}
       </h3>
-      <br /><br />
+      <br />
     {% endifchanged %}
     <span style="font-size:12pt"><a href="/palestra/{{p.id}}/" style="color:#333;">{{p.titulo}}</a></span>
         <br />
+        <span style="margin-left:20px">
+           {{p.time_start}}-{{p.time_end}}
+        </span>
+         <br />
+         <span style="margin-left:20px">
+         {% ifequal p.room 0 %}
+            Auditório
+         {% else %}
+            Sala {{p.room}}
+         {% endifequal %}
+         </span>
+         <br />
         <span style="font-weight:bolder;margin-left:15px">Palestrante{{ p.palestrante.all|pluralize }}:</span>
         <br />
             {% 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 %}
         </span>
-            {% endfor %}
         <br />
+            {% endfor %}
     {% endfor %}
 {% else %}
 <div id="404" style="text-align:center">