diff --git a/app/views/users/_course_poll.html.erb b/app/views/users/_course_poll.html.erb index bde8de90d..0b91a6ed3 100644 --- a/app/views/users/_course_poll.html.erb +++ b/app/views/users/_course_poll.html.erb @@ -1,6 +1,6 @@ <% has_commit = has_commit_poll?(activity.id ,User.current)%> <% poll_name = activity.polls_name.empty? ? l(:label_poll_new) : activity.polls_name%> -<% if has_commit || activity.user_id == User.current %> +<% if ( activity.polls_status==2) %>