|
|
@ -23,6 +23,7 @@
|
|
|
|
<img class="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>
|
|
|
|
<img class="roundedRectangles" src="/images/educoder/roundedRectangle.png"/>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="<%= params[:controller] == "libraries" ? " active" : "" %>"><%= link_to "教学案例", libraries_path %></li>
|
|
|
|
<li class="<%= params[:controller] == "libraries" ? " active" : "" %>"><%= link_to "教学案例", libraries_path %></li>
|
|
|
|
|
|
|
|
<li class="<%= params[:controller] == "project_packages" ? " active" : "" %>"><%= link_to "众包", project_packages_path %></li>
|
|
|
|
<li class="<%= params[:controller] == "forums" ? " active" : "" %>"><%= link_to "交流问答", forums_path %></li>
|
|
|
|
<li class="<%= params[:controller] == "forums" ? " active" : "" %>"><%= link_to "交流问答", forums_path %></li>
|
|
|
|
<% if User.current.ec_school.present? %>
|
|
|
|
<% if User.current.ec_school.present? %>
|
|
|
|
<li class="<%= ecs_controller.include?(params[:controller]) ? " active" : "" %>" id="ec_banner">
|
|
|
|
<li class="<%= ecs_controller.include?(params[:controller]) ? " active" : "" %>" id="ec_banner">
|
|
|
|