From: Thadeu Lima de Souza Cascardo Date: Tue, 9 Oct 2007 20:23:26 +0000 (-0300) Subject: Changed grade template logic. X-Git-Url: http://git.cascardo.info/?p=cascardo%2Feventmanager.git;a=commitdiff_plain;h=1be102797f4b0a1519211387364501a583e1df40 Changed grade template logic. --- diff --git a/templates/grade.html b/templates/grade.html index 44858af..59c156a 100644 --- a/templates/grade.html +++ b/templates/grade.html @@ -5,24 +5,48 @@ {% if aprovadas %} {% for p in aprovadas %} - {% ifchanged p.dia %} -

- {{ p.dia|date:"l, d \de F" }} -

-

- - - {% endifchanged %} - {% ifchanged p.time_start %} - - - + {% if forloop.first %} + +

+ {{ p.dia|date:"l, d \de F" }} +

+
+
{{ p.time_start }}
+ + + {% endif %} + + {% ifchanged p.time_start %} + + + + + {% endifchanged %} - + + + {% ifchanged p.dia %} - -
{{ p.time_start }} {{ p.titulo }} {{ p.titulo }}
+ + + + + +

+ {{ p.dia|date:"l, d \de F" }} +

+
+ + + {% endifchanged %} + + {% if forloop.last %} + + +
+ + {% endif %} {% endfor %} {% else %} @@ -37,6 +61,7 @@ {% endif %} +
Voltar {% endblock %}