修改作业提交项目第一项为请选择

This commit is contained in:
sw 2014-11-25 10:35:43 +08:00
parent 3e3d103828
commit 5bcc76d399
2 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,7 @@ module HomeworkAttachHelper
memberships = User.current.memberships.all(:conditions => cond)
projects = memberships.map(&:project)
not_have_project = []
not_have_project << ""
not_have_project << Setting.please_chose
not_have_project << 0
type = []
type << not_have_project

View File

@ -256,6 +256,8 @@ course_domain:
default: course.trustie.net
repository_domain:
default: repository.trustie.net
please_chose:
default: 请选择
plugin_redmine_ckeditor:
serialized: true
default: --- !ruby/hash:ActiveSupport::HashWithIndifferentAccess