diff --git a/app/views/subjects/show.html.erb b/app/views/subjects/show.html.erb index 8b96050c1..672ba35c2 100644 --- a/app/views/subjects/show.html.erb +++ b/app/views/subjects/show.html.erb @@ -33,7 +33,7 @@ <% stage.stage_shixuns.each_with_index do |stage_shixun, index| %> <% shixun = stage_shixun.shixun %>
;" onclick="<%= allow_shixun_exec(shixun) ? "" : "shixun_link('#{shixun.identifier}')" %>"> + style="<%= allow_shixun_exec(shixun) ? "" : "cursor: pointer" %>;" onclick="<%= allow_shixun_exec(shixun) ? "" : (shixun.status < 2 && !User.current.manager_of_shixun?(shixun) ? "" : "shixun_link('#{shixun.identifier}')") %>">
  • <%= s_index + 1 %>-<%= index + 1 %>  <%= shixun.name %> @@ -68,7 +68,7 @@ <% end %> <% end %> <% if shixun.status < 2 && !User.current.manager_of_shixun?(shixun) %> - + <% else %> <%= link_to "查看详情", shixun_path(shixun), :class => "task-btn task-btn-green ml10", :style=>"display: none", :target => "_blank" %> <% end %>