隐藏非项目的时候图像中禁掉我的课程

This commit is contained in:
huang 2016-11-02 15:10:21 +08:00
parent 9da165b2b7
commit 9d15052486
2 changed files with 6 additions and 4 deletions

View File

@ -66,9 +66,11 @@
<li> <li>
<%= link_to "修改资料", my_account_path, :class => "menuGrey"%> <%= link_to "修改资料", my_account_path, :class => "menuGrey"%>
</li> </li>
<% if hidden_unproject_infos %>
<li> <li>
<%= link_to '我的课程',{:controller => "users", :action => "user_courselist", :id => User.current.id}, :class => "menuGrey" %> <%= link_to '我的课程',{:controller => "users", :action => "user_courselist", :id => User.current.id}, :class => "menuGrey" %>
</li> </li>
<% end %>
<li> <li>
<%= link_to "我的组织", user_organizations_user_path(:id => User.current.id), :class => "menuGrey"%> <%= link_to "我的组织", user_organizations_user_path(:id => User.current.id), :class => "menuGrey"%>
</li> </li>