|
|
|
@ -2,11 +2,13 @@
|
|
|
|
|
<% poll_name = poll.polls_name.empty? ? l(:label_poll_new) : poll.polls_name%>
|
|
|
|
|
<% if @is_teacher%>
|
|
|
|
|
<li title="<%= poll.polls_name %>">
|
|
|
|
|
<% if has_commit %>
|
|
|
|
|
<%= link_to poll_name, poll_result_poll_path(poll.id), :class => "polls_title polls_title_w fl c_dblue"%>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to poll_name, poll_path(poll.id), :class => "polls_title polls_title_w fl c_dblue" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div style="width: 310px;float: left;">
|
|
|
|
|
<% if has_commit %>
|
|
|
|
|
<%= link_to poll_name, poll_result_poll_path(poll.id), :class => "polls_title polls_title_w fl c_dblue"%>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to poll_name, poll_path(poll.id), :class => "polls_title polls_title_w fl c_dblue" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<% if poll.polls_status == 1%>
|
|
|
|
|