关闭问卷之后老师容许查看统计结果

This commit is contained in:
sw 2015-01-30 16:19:05 +08:00
parent 3648856011
commit 34c68a59fc
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@
<% end %>
<%if @is_teacher%>
<% if poll.polls_status == 1 || poll.polls_status == 3 %>
<% if poll.polls_status == 1%>
<li class="pollsbtn fl ml10 pollsbtn_grey">统计结果</li>
<% elsif poll.polls_status == 2%>
<% elsif poll.polls_status == 2 || poll.polls_status == 3 %>
<li>
<%= link_to l(:label_statistical_results), statistics_result_poll_path(poll.id), :class => "pollsbtn fl ml10"%>
</li>