From 53b57d4c53b9f341ad979bb5d9125da59b87f719 Mon Sep 17 00:00:00 2001 From: alan <547533434@qq.com> Date: Fri, 9 Jan 2015 12:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=8A=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E7=A7=AF=E5=88=86=E5=BC=B9=E6=A1=86=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=94=99=E8=AF=AF=E3=80=8Bbug=20Signed-off-by:=20alan?= =?UTF-8?q?=20<547533434@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 2 +- app/views/layouts/users_base.html.erb | 10 +++++----- public/stylesheets/css.css | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index fa0beb311..ab796c4e3 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -129,7 +129,7 @@ class UsersController < ApplicationController end def show_new_score - render :layout => false + render :layout => 'users_base' end # end diff --git a/app/views/layouts/users_base.html.erb b/app/views/layouts/users_base.html.erb index d98ef3f46..b34609471 100644 --- a/app/views/layouts/users_base.html.erb +++ b/app/views/layouts/users_base.html.erb @@ -1,7 +1,7 @@ <% @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_user_label = 1 + @nav_dispaly_store_all_label = 1 + %> <% @nav_dispaly_forum_label = 1%> @@ -39,12 +39,12 @@ - +
<%= l(:label_loading) %>
- +<%= call_hook :view_layouts_base_body_bottom %> diff --git a/public/stylesheets/css.css b/public/stylesheets/css.css index b6d61c865..444d0d383 100644 --- a/public/stylesheets/css.css +++ b/public/stylesheets/css.css @@ -149,7 +149,7 @@ a:hover.tijiao{ background:#0f99a9 !important;} .ni_con p{ color:#808181;} .ni_con a:hover{ text-decoration:none;} -.ui-widget-header{display: none;} +