More style cleanup.
[cascardo/eventmanager.git] / templates / programacao.html
index 9c99b4f..09073d3 100644 (file)
@@ -4,11 +4,34 @@
 {% if aprovadas %}
 
 <!--<h2>{{ dados_usuario.nome }}</h2>-->
-<ul>
     {% for p in aprovadas %}
-    <li>{{p.titulo}}</li>
+    {% 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 %}
+        <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 %}
-</ul>
 {% else %}
 <div id="404" style="text-align:center">
     <h2>Padre Quevedo 404</h2>