Merge branch 'master' into mybranch
[cascardo/ema.git] / eventos / templates / eventos / talk-improve.html
1 {% extends "base.html" %}
2
3 {% block content %}
4 <h2>Aprimorar Trabalho: {{ talk.titulo }}</h2>
5
6 {% for speaker in speakers %}
7 <div><strong>Palestrante:</strong> <a href="/speaker/{{ speaker.id }}">{{ speaker.nome }}</a></div>
8 {% endfor %}
9 <div><strong>trilha:</strong> {{ talk.trilha }}</div>
10 <div><strong>Tipo:</strong> {{ talk.tipo }}</div>
11 <div><strong>Descricao curta:</strong> {{ talk.descricao_curta}}</div>
12 <div><strong>Descricao longa:</strong> {{ talk.descricao_longa }}</div>
13
14 {% if improve %}
15 <br /><br />
16 <strong>{{ len_comments }} COMENTÁRIO(S)</strong>
17 {% endif %}
18
19 <ul id="comment-list">
20 {% for i in improve  %}
21     <li class="{% cycle 'odd' 'even' %}">
22       <span>Postado por {{ i.usuario }}</span>
23       <em>({{ i.pub_date|date:"d/m/Y" }})</em>
24       <br />
25
26       {{ i.comentario }}
27     </li>
28 {% endfor %}
29 </ul>
30
31 {% if user.is_authenticated %}
32
33 <form id="improve-add" method="post" action="./">
34   {{ form.as_p }}
35   <input type="submit" value="Comentar" />
36 </form>
37
38 {% else %}
39
40 <strong>
41   Por favor, <a href="/subscribe/">cadastre-se</a> para deixar seu
42   comentário.
43 </strong>
44
45 {% endif %}
46
47 {% endblock %}