From 5c0e3e96cc61b458e4b95342359d547c4b11408d Mon Sep 17 00:00:00 2001 From: z9hang Date: Sat, 19 Jul 2014 16:41:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8D=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AF=BC=E8=88=AA=E6=A0=8F=E7=BC=BA=E5=A4=B1=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=81=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98=E3=80=81=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BF=AE=E5=A4=8DFirstPage=E8=A1=A8=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=9A=84=E8=BF=81=E7=A7=BB=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../contests/show_attendingcontest.html.erb | 2 +- app/views/courses/index.html.erb | 4 ++ app/views/issues/_list.html.erb | 5 +- app/views/projects/index.html.erb | 2 + .../20140719080032_repair_first_page.rb | 59 +++++++++++++++++++ db/schema.rb | 37 ++++-------- 6 files changed, 82 insertions(+), 27 deletions(-) create mode 100644 db/migrate/20140719080032_repair_first_page.rb diff --git a/app/views/contests/show_attendingcontest.html.erb b/app/views/contests/show_attendingcontest.html.erb index 6430a7c9a..cb6024e29 100644 --- a/app/views/contests/show_attendingcontest.html.erb +++ b/app/views/contests/show_attendingcontest.html.erb @@ -131,7 +131,7 @@ <%= l(:label_work_deposit_project) %>: <%= select_tag 'project', options_for_select(select_option_helper(@option)), :name => 'project', :class => 'grayline2' %> - <%= link_to l(:label_create_new_projects),{:controller => 'projects',:action => 'new',course: 0, project_type: 0} , :target => '_blank',host:Setting.project_domain %> + <%= link_to l(:label_create_new_projects),{:controller => 'projects',:action => 'new',course: 0, project_type: 0,host: Setting.project_domain}, :target => '_blank' %>

diff --git a/app/views/courses/index.html.erb b/app/views/courses/index.html.erb index 0586262e9..24eefd4cb 100644 --- a/app/views/courses/index.html.erb +++ b/app/views/courses/index.html.erb @@ -1,3 +1,7 @@ +<% @nav_dispaly_course_all_label = 1 + @nav_dispaly_forum_label = 1 + @nav_dispaly_course_label = nil + @nav_dispaly_store_all_label = 1 %> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> <% end %> diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index 57d8a60cb..c9fecc6a9 100644 --- a/app/views/issues/_list.html.erb +++ b/app/views/issues/_list.html.erb @@ -38,7 +38,10 @@ <% end -%>