diff options
author | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-04-25 18:28:26 (GMT) |
---|---|---|
committer | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-04-25 18:28:26 (GMT) |
commit | d22af1d432c28851a52e72fbf38bf355c5866904 (patch) | |
tree | 6a2a90aa2cf62defe64c08a9e1aa93301c77cd7b /webapp/polls/views.py | |
parent | 97014e32fafbeafb2aef74b99a48db3469d6b21d (diff) |
BugFixing
Diffstat (limited to 'webapp/polls/views.py')
-rw-r--r-- | webapp/polls/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/polls/views.py b/webapp/polls/views.py index 8f5adf6..5966b0f 100644 --- a/webapp/polls/views.py +++ b/webapp/polls/views.py @@ -157,7 +157,7 @@ class PollListView(ListView): ), }, 'action_edit': { - 'disabled': "disabled" if ( + 'disabled': "disabled" if not poll.is_open() and ( not poll.is_open() and not user.is_superuser) else "", 'url': reverse( 'sociologist:poll_edit', kwargs={'id': str(poll.id)} |