This commit is contained in:
parent
22ada089be
commit
4d1730f92e
|
@ -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 %>
|
||||
<!-- 关闭课程block -->
|
||||
<% end %>
|
||||
|
|
|
@ -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: 删除任务
|
||||
|
|
Loading…
Reference in New Issue