关闭问卷之后老师容许查看统计结果
This commit is contained in:
parent
3648856011
commit
34c68a59fc
|
@ -22,9 +22,9 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%if @is_teacher%>
|
<%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>
|
<li class="pollsbtn fl ml10 pollsbtn_grey">统计结果</li>
|
||||||
<% elsif poll.polls_status == 2%>
|
<% elsif poll.polls_status == 2 || poll.polls_status == 3 %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to l(:label_statistical_results), statistics_result_poll_path(poll.id), :class => "pollsbtn fl ml10"%>
|
<%= link_to l(:label_statistical_results), statistics_result_poll_path(poll.id), :class => "pollsbtn fl ml10"%>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue