From 4d1730f92ef9b2887ffb86da1ffb99b43de88161 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 4 Nov 2014 17:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/courses/_set_course_time.html.erb | 2 +- config/locales/zh.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/courses/_set_course_time.html.erb b/app/views/courses/_set_course_time.html.erb index 384b07df2..f1eec891f 100644 --- a/app/views/courses/_set_course_time.html.erb +++ b/app/views/courses/_set_course_time.html.erb @@ -7,7 +7,7 @@ <% linkPath = course_endTime_timeout?(course) ? restartcourse_course_path(course) : finishcourse_course_path(course, format: :js) %> <% desc = course_endTime_timeout?(course) ? '重启' : '关闭' %> - <%= link_to "#{desc}课程", linkPath, :remote => true, :method => :post, :id => id, :confirm => ("确定要#{desc}课程?") %> + <%= link_to "#{desc}", linkPath, :remote => true, :method => :post, :id => id, :confirm => ("确定要#{desc}课程?") %> <% else %> <% end %> diff --git a/config/locales/zh.yml b/config/locales/zh.yml index ddde5ccb7..1053e0be1 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -463,7 +463,7 @@ zh: permission_view_courses: 查看课程 permission_new_course: 新建课程 permission_configure_course: 配置课程 - permission_close_course: 关闭/重开课程 + permission_close_course: 关闭/重开 permission_new_assignment: 新建任务 permission_edit_assignment: 编辑任务 permission_delete_assignment: 删除任务