From b7027405ce50277a95d235b99e8560ee2b7f007e Mon Sep 17 00:00:00 2001 From: yanxd Date: Tue, 5 Nov 2013 16:53:00 +0800 Subject: [PATCH] fix some little bug! --- app/views/bids/show_project.html.erb | 224 +++++++++++++-------------- config/locales/zh.yml | 6 +- 2 files changed, 115 insertions(+), 115 deletions(-) diff --git a/app/views/bids/show_project.html.erb b/app/views/bids/show_project.html.erb index 4dc2c373c..804602c35 100644 --- a/app/views/bids/show_project.html.erb +++ b/app/views/bids/show_project.html.erb @@ -1,112 +1,112 @@ - - -<% if @bid.homework_type == 1%> - <%= render :partial => 'homework' %> - -<% else %> - - - - - <% if User.current.logged? %> - - - - <% end %> - -
- <%= render :partial => 'project_list', :locals => {:bidding_project => @bidding_project,:bid => @bid} %> -
-<% end %> - + + +<% if @bid.homework_type == 1%> + <%= render :partial => 'homework' %> + +<% else %> + + + + + <% if User.current.logged? %> + + + + <% end %> + +
+ <%= render :partial => 'project_list', :locals => {:bidding_project => @bidding_project,:bid => @bid} %> +
+<% end %> + diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 5a4203f8b..6c052df57 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -448,13 +448,13 @@ zh: label_module_share: DTS测试工具 label_user: 用户 - label_user_plural: 用户 + label_user_plural: 用户列表 label_user_new: 新建用户 label_user_anonymous: 匿名用户 label_project: 项目 label_activity_project: '项目: ' #added by bai label_project_new: 新建项目 - label_project_plural: 项目 + label_project_plural: 项目列表 label_x_projects: zero: 无项目 one: 1 个项目 @@ -503,7 +503,7 @@ zh: label_home: 主页 #by young label_requirement: 需求 - label_new_course: 课程 + label_new_course: 课程列表 label_course_practice: 实践课程 label_project_deposit: 项目托管 label_software_user: 软件创客