diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-12-03 13:35:22 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-12-03 13:35:22 +0000 |
| commit | c1179cc913cce18c7d5a317da15363c3118ca1d7 (patch) | |
| tree | 8795a1f27dc911aae53c9c8d6b857b733a69935a /templates/vote.html | |
| parent | 7ecbc6bf2ba614afee40d344d9191abd5f371db4 (diff) | |
| download | Papillon-c1179cc913cce18c7d5a317da15363c3118ca1d7.tar.bz2 Papillon-c1179cc913cce18c7d5a317da15363c3118ca1d7.zip | |
First version of syndication. Change on the css
Diffstat (limited to 'templates/vote.html')
| -rw-r--r-- | templates/vote.html | 9 |
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 %} |
