dépôts
/
cavote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a88b78a
)
Merge branch 'bug-transparent' of git://git.rogdham.net/cavote
author
Julien Rabier
<taziden@flexiden.org>
Thu, 30 Aug 2012 18:04:09 +0000
(20:04 +0200)
committer
Julien Rabier
<taziden@flexiden.org>
Thu, 30 Aug 2012 18:04:09 +0000
(20:04 +0200)
templates/vote.html
patch
|
blob
|
history
diff --git
a/templates/vote.html
b/templates/vote.html
index
cbe59f4
..
e3ecbfc
100644
(file)
--- a/
templates/vote.html
+++ b/
templates/vote.html
@@
-22,7
+22,7
@@
<tbody>
{% for user in users %}
- {% if vote.is_transparent or
user.userid == session.user.id
%}
+ {% if vote.is_transparent or
(session.user and user.userid == session.user.id )
%}
<tr>
<th>{% if 'user' in session and user.userid == session.user.id %}<i class="icon-user"></i>{% endif %} {{ user.username }}</th>
{% for choice in choices %}