<% @nav_dispaly_home_path_label = 1 @nav_dispaly_main_course_label = 1 @nav_dispaly_main_project_label = 1 @nav_dispaly_main_contest_label = 1 %> <% @nav_dispaly_forum_label = 1%> <% @nav_dispaly_user_label = show_item_on_navbar(params) %> <%= h html_title %> <%= csrf_meta_tag %> <%= favicon %> <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', 'nyan', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <%= javascript_heads %> <%= heads_for_theme %> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%>
<%= render :partial => 'layouts/base_header'%>
<%= l(:label_user_home) %> <%= l(:label_user_location) %> :
<%=link_to "主页", home_path %> > <%=link_to @user.name, user_path %>
<% if @user.user_extensions.identity == 2 %> <%= render_menu :user_enterprise_menu %> <% else %> <%= render_menu :user_menu,@user %> <% end %>
<%= yield %> <%= call_hook :view_layouts_base_content %>
<%#= render_flash_messages %>
<%= render :partial => 'layouts/base_footer'%>
<%= call_hook :view_layouts_base_body_bottom %>