Fix and clean style.
[cascardo/eventmanager.git] / templates / programacao.html
1 {% extends "base.html" %}
2 {% block content %}
3
4 {% if aprovadas %}
5
6 <!--<h2>{{ dados_usuario.nome }}</h2>-->
7     {% for p in aprovadas %}
8     {% ifchanged p.dia %}
9       <br />
10       <br />
11       <h3>
12         {{ p.dia|date:"l, d \de F" }}
13       </h3>
14       <br />
15     {% endifchanged %}
16     <span style="font-size:12pt"><a href="/palestra/{{p.id}}/" style="color:#333;">{{p.titulo}}</a></span>
17         <br />
18         <span style="font-weight:bolder;margin-left:15px">Palestrante{{ p.palestrante.all|pluralize }}:</span>
19         <br />
20             {% for x in p.palestrante.all %}
21         <span style="margin-left:30px">
22             <a href="/palestrante/{{x.id}}/">{{x.nome|capfirst}} </a>{% ifnotequal p.palestrante.all|length 1%}<br /> {% endifnotequal %}
23         </span>
24         <span style="margin-left:50px">
25             {{p.time_start}}-{{p.time_end}}
26             <br />
27             {% ifequal p.room 0 %}
28               Auditório
29             {% else %}
30               Sala {{p.room}}
31             {% endifequal %}
32          </span>
33          <br />
34             {% endfor %}
35         <br />
36     {% endfor %}
37 {% else %}
38 <div id="404" style="text-align:center">
39     <h2>Padre Quevedo 404</h2>
40     <br />
41     <div style="color:#FF0000;">
42         Usuario nón ecziste!
43     </div>
44 </div>
45 {% endif %}
46
47 <a href="javascript:;" onclick="history.back ();">Voltar</a>
48 {% endblock %}