隐藏非项目的时候图像中禁掉我的课程
This commit is contained in:
parent
9da165b2b7
commit
9d15052486
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue