summaryrefslogtreecommitdiff
path: root/templates/vote.html
diff options
context:
space:
mode:
authoretienne2008-12-03 13:35:22 +0000
committeretienne2008-12-03 13:35:22 +0000
commitc1179cc913cce18c7d5a317da15363c3118ca1d7 (patch)
tree8795a1f27dc911aae53c9c8d6b857b733a69935a /templates/vote.html
parent7ecbc6bf2ba614afee40d344d9191abd5f371db4 (diff)
First version of syndication. Change on the css
Diffstat (limited to 'templates/vote.html')
-rw-r--r--templates/vote.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/vote.html b/templates/vote.html
index f3f1e1d..e000bc9 100644
--- a/templates/vote.html
+++ b/templates/vote.html
@@ -13,7 +13,8 @@
<td class='simple'></td>
{% for choice in choices %}<th>{{choice.name}}{% if choice.limit %} ({% trans "max" %} {{choice.limit}}){%endif%}</th>
{% endfor %}</tr>
- {% for voter in voters %}<tr>{% ifequal current_voter_id voter.id %}
+ {% for voter in voters %}<tr{% if voter.highlight %} class='highlighted_voter'{% endif %}>
+ {% ifequal current_voter_id voter.id %}
<input type='hidden' name='voter' value='{{voter.id}}'/>
<td class='simple'></td>
<td><input type='text' name='author_name' value='{{voter.user.name}}'/></td>
@@ -77,7 +78,11 @@
{% endfor %}
</tr>
</table>
- </div>
<input type='submit' value='{%if current_voter_id%}{% trans "Edit" %}{%else%}{% trans "Participate" %}{%endif%}'/>
+ </div>
+ <hr class='spacer'/>
</form>
+ <div id='syndication'>
+ {% trans "Remain informed of poll evolution:" %} <a href="/papillon/feeds/poll/{{poll_base_url}}/">{%trans "Syndication"%}</a>
+ </div>
{% endblock %}