Better line breaks in these templates.
[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             {% endfor %}
25         <br />
26     {% endfor %}
27 {% else %}
28 <div id="404" style="text-align:center">
29     <h2>Padre Quevedo 404</h2>
30     <br />
31     <div style="color:#FF0000;">
32         Usuario nón ecziste!
33     </div>
34 </div>
35 {% endif %}
36
37 <a href="javascript:;" onclick="history.back ();">Voltar</a>
38 {% endblock %}