|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
<%= link_to image_tag("/images/educoder/headNavLogo.png", alt:"高校智能化教学与实训平台", class:"logoimg fl mr30 ml25 mt10", style: "width:130px"), home_path %>
|
|
|
|
|
<%= link_to image_tag("/images/educoder/headNavLogo_keda.png", alt:"高校智能化教学与实训平台", class:"logoimg fl mr30 ml25 mt10", style: "width:130px"), home_path %>
|
|
|
|
|
<div class="educontents fl">
|
|
|
|
|
|
|
|
|
|
<div class="head-nav pr">
|
|
|
|
@ -57,17 +57,20 @@ display: none; right:110px;">
|
|
|
|
|
<div class="fr edu-menu-panel mr25" style="height:60px;">
|
|
|
|
|
<%= link_to (image_tag(url_to_avatar(User.current), :width =>"34", :height => "34", :class => "radius mt13", :nhname => "avatar_image", :alt=>"头像", :id => "nh_user_logo")), user_path(User.current),:class => "fl" %>
|
|
|
|
|
<ul class="edu-menu-list" style="top:60px;">
|
|
|
|
|
<span class="bor-bottom-greyE currentName task-hide"><%= User.current.show_name %></span>
|
|
|
|
|
<!-- <span class="bor-bottom-greyE currentName task-hide"><%#= User.current.show_name %></span>-->
|
|
|
|
|
<li><%= link_to '我的教学课堂', user_path(User.current) %></li>
|
|
|
|
|
<li><%= link_to '我的实训项目', user_path(User.current, :type => 'a_shixun') %></li>
|
|
|
|
|
<li><%= link_to '我的实践课程', user_path(User.current, :type => 'a_path') %></li>
|
|
|
|
|
<li><%= link_to '我的开发项目', user_path(User.current, :type => 'a_project') %></li>
|
|
|
|
|
<% if User.current.partner.present? %>
|
|
|
|
|
<li><%= link_to '客户管理', partner_list_cooperate_path(User.current.partner) %></li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if User.current.department_members.count > 0 %>
|
|
|
|
|
<li><%= link_to '学院统计', statistics_college_path(User.current.department_members.first.try(:department)) %></li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<li><%= link_to '我的实训项目', "/users/#{User.current.login}/shixuns" %></li>
|
|
|
|
|
<li><%= link_to '我的实践课程', "/users/#{User.current.login}/paths" %></li>
|
|
|
|
|
<li><%= link_to '我的开发项目', "/users/#{User.current.login}/projects" %></li>
|
|
|
|
|
<li><%= link_to '我的教研团队', "/users/#{User.current.login}/teach-group" %></li>
|
|
|
|
|
<li><%= link_to '我的试题库', "/problemset" %></li>
|
|
|
|
|
<li><%= link_to '我的试卷库', "/paperlibrary" %></li>
|
|
|
|
|
<%# if User.current.partner.present? %>
|
|
|
|
|
<!-- <li><%#= link_to '客户管理', partner_list_cooperate_path(User.current.partner) %></li>-->
|
|
|
|
|
<%# end %>
|
|
|
|
|
<%# if User.current.department_members.count > 0 %>
|
|
|
|
|
<!-- <li><%#= link_to '学院统计', statistics_college_path(User.current.department_members.first.try(:department)) %></li>-->
|
|
|
|
|
<%# end %>
|
|
|
|
|
<li><%= link_to '账号管理', my_account_path %></li>
|
|
|
|
|
<li class="bor-top-greyE"><%= link_to '退出', signout_path %></li>
|
|
|
|
|
</ul>
|
|
|
|
|