From 14445d0801db77bf6a297237351b756feca2d004 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Wed, 6 Nov 2013 10:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_contest.html.erb | 4 ++-- app/views/layouts/base_courses.html.erb | 2 +- app/views/layouts/base_projects.html.erb | 4 ++-- app/views/layouts/base_users.html.erb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/base_contest.html.erb b/app/views/layouts/base_contest.html.erb index d5cdbc598..6ae95cb67 100644 --- a/app/views/layouts/base_contest.html.erb +++ b/app/views/layouts/base_contest.html.erb @@ -40,8 +40,8 @@ - http://forge.trustie.net/contest - <%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_contest_innovate), :controller => 'bids', :action => 'contest' %> > <%=link_to @bid.name ,bid_path %> + <%=link_to "forge.trustie.net/contest", :controller => 'bids', :action => 'contest' %> + <%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_contest_innovate), :controller => 'bids', :action => 'contest' %> > <%= @bid.name %> diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb index cb1694629..8ba3c118b 100644 --- a/app/views/layouts/base_courses.html.erb +++ b/app/views/layouts/base_courses.html.erb @@ -41,7 +41,7 @@ - forge.trustie.net/courses + <%=link_to "forge.trustie.net/course", :controller => 'projects', :action => 'course' %> <%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> > <%=link_to @project.name, nil %>(<%= @course.time %><%= @course.term %>) diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index fc510b9e7..55e70d1b7 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -40,8 +40,8 @@ - <%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index' %> - <%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index' %> > <%=link_to @project, project_path(@project) %> + <%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index', :project_type => 0 %> + <%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index', :project_type => 0 %> > <%=link_to @project, project_path(@project) %> diff --git a/app/views/layouts/base_users.html.erb b/app/views/layouts/base_users.html.erb index 0cca5785d..a3e1f71ab 100644 --- a/app/views/layouts/base_users.html.erb +++ b/app/views/layouts/base_users.html.erb @@ -38,7 +38,7 @@ - http://forge.trustie.net + <%=link_to "forge.trustie.net/users" ,:controller => 'users', :action => 'index' %> <%=link_to "主页", home_path %> > <%=link_to "软件创客", :controller => 'users', :action => 'index' %> > <%=link_to @user.show_name, user_path %>