隐藏项目之 隐藏组织左侧的信息

This commit is contained in:
huang 2016-08-31 16:01:23 +08:00
parent ac85eadc30
commit 9b14b86b64
1 changed files with 15 additions and 13 deletions

View File

@ -61,6 +61,7 @@
<%= link_to "动态",organization_path(organization), :class => "homepageMenuText" %>
</div>
<% when 'course' %>
<% if hidden_unproject_infos %>
<div style="display:<%= field.hide == 0 ? 'block':'none' %>;" id="org_subfield_<%= field.id %>">
<div class="homepageLeftMenuBlock">
<a href="javascript:void(0);" class="homepageMenuText" onclick="$('#homepageLeftMenuCourses').slideToggle();">班级</a>
@ -74,6 +75,7 @@
</ul>
</div>
</div>
<% end %>
<% when 'project' %>
<div style="display:<%= field.hide == 0 ? 'block':'none' %>;" id="org_subfield_<%= field.id %>">
<div class="homepageLeftMenuBlock">