<%= h @bid.name %> | +<%= h @bid.name %> | |
<%= watcher_link(@bid, User.current) %> | diff --git a/app/views/projects/_course_form.html.erb b/app/views/projects/_course_form.html.erb index 9b794f22a..d53edec95 100644 --- a/app/views/projects/_course_form.html.erb +++ b/app/views/projects/_course_form.html.erb @@ -180,7 +180,7 @@ <% end %> <% end %> -+ |
<% unless @course.nil? %>
<% if @course.term == l(:label_spring) %>
<%= render :partial => 'course_form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
- <%= submit_tag l(:button_create_and_continue), :name => 'course_continue' %>
+
<% else %>
<%=l(:label_project_new)%>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
- <%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
+
<% end %>
<%= javascript_tag "$('#project_name').focus();" %>
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index 42969b631..1678e35d3 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -508,6 +508,7 @@ zh:
label_new_contest: 竞赛
label_requirement_focus: 关注需求
label_developer: 用户
+ label_account_developer: 开发者
label_enterprise_into: 进入企业
label_college_into: 进入高校
label_investor: 投资人:
@@ -905,7 +906,7 @@ zh:
button_check_all: 全选
button_uncheck_all: 清除
button_delete: 删除
- button_create: 创建
+ button_create: 提交 #bai
button_create_and_continue: 创建并继续
button_test: 测试
button_edit: 编辑
@@ -914,7 +915,7 @@ zh:
button_change: 修改
button_apply: 查询
- button_clear: 取消查询
+ button_clear: 清除留言
button_clear_requirement: 取消
button_lock: 锁定
button_unlock: 解锁
@@ -1285,7 +1286,7 @@ zh:
field_enterprise: '企业:'
button_bidding_homework: 参加竞标 #huang
- field_homework_type: 作业类型
+ field_homework_type: 提交形式 #bai
label_homework_respond: 作业情况
label_bid_me: 我要应标
@@ -1515,7 +1516,7 @@ zh:
label_user_create_project: 创建了
#added by bai
label_identity: 身份
- label_teacher: 教 师
+ label_teacher: 教师
label_teacher_homework: 教师姓名
label_student: 学生
label_other: 其他
@@ -1534,6 +1535,9 @@ zh:
label_course_time: 课程年度
label_i_new_activity: 有了新活动在
label_choose_course: 选择课程
+ button_submit_homework: 提交作业
+ label_my_course: 我的课程
+ button_submit_bid: 参与竞标
#end
diff --git a/db/migrate/20131009074454_change_student_id_type.rb b/db/migrate/20131009074454_change_student_id_type.rb
new file mode 100644
index 000000000..083463307
--- /dev/null
+++ b/db/migrate/20131009074454_change_student_id_type.rb
@@ -0,0 +1,9 @@
+class ChangeStudentIdType < ActiveRecord::Migration
+ def up
+ change_column :user_extensions, :student_id, :string
+ end
+
+ def down
+ raise ActiveRecord::IrreversibleMigration
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 595967ae9..fcd95793e 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20130929011921) do
+ActiveRecord::Schema.define(:version => 20131009074454) do
create_table "a_user_watchers", :force => true do |t|
t.string "name"
@@ -699,7 +699,7 @@ ActiveRecord::Schema.define(:version => 20130929011921) do
t.datetime "updated_at", :null => false
t.integer "identity"
t.string "technical_title"
- t.integer "student_id"
+ t.string "student_id"
t.string "teacher_realname"
t.string "student_realname"
t.string "location_city"
diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css
index e7983e74c..f5ccc53d5 100644
--- a/public/themes/redpenny-master/stylesheets/application.css
+++ b/public/themes/redpenny-master/stylesheets/application.css
@@ -372,7 +372,7 @@ ul.projects li.root
{
background-color:#fff; /*顶层导航颜色*/
color: #fff;
- font-size:15px;
+ font-size:13px; /* bai */
font-family: 微软雅黑;
position:relative;
padding:0;
|