|
|
@ -38,14 +38,9 @@
|
|
|
|
<%= link_to "首页", organization_path(@organization), :class => "por_index_act" %>
|
|
|
|
<%= link_to "首页", organization_path(@organization), :class => "por_index_act" %>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<% when 'course' %>
|
|
|
|
<% when 'course' %>
|
|
|
|
<li style="display:<%= field.hide == 0 ? 'block':'none' %>;">
|
|
|
|
|
|
|
|
<a href="#course_<%= field.id %>" class="sn-link-white"> 课程动态</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<% when 'project' %>
|
|
|
|
<% when 'project' %>
|
|
|
|
<li style="display:<%= field.hide == 0 ? 'block':'none' %>;">
|
|
|
|
|
|
|
|
<a href="#project_<%= field.id %>" class="sn-link-white">项目动态</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<% if field.field_type == "Post" && field.hide == 0 %>
|
|
|
|
<% if field.field_type == "Post" && field.hide == 0 %>
|
|
|
|
<li><a href="#message_<%= field.id %>" class="sn-link-white"><%= field.name %></a></li>
|
|
|
|
<li><a href="#message_<%= field.id %>" class="sn-link-white"><%= field.name %></a></li>
|
|
|
|