From 178752ba8f308726a573a1ec4cd43f037e087d6d Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 16 Oct 2015 15:42:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E2=80=9C=E4=BD=9C=E5=93=81=E2=80=9D?= =?UTF-8?q?=E6=94=B9=E6=88=90=E2=80=9C=E6=8F=90=E4=BA=A4=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d21eb48a9..ce11bded8 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2351,7 +2351,7 @@ module ApplicationHelper def user_for_homework_common homework,is_teacher if User.current.member_of_course?(homework.course) if is_teacher #老师显示作品数量 - link_to "提交(#{homework.student_works.count})",student_work_index_path(:homework => homework.id),:class => "c_blue" + link_to "作品(#{homework.student_works.count})",student_work_index_path(:homework => homework.id),:class => "c_blue" else #学生显示提交作品、修改作品等按钮 work = cur_user_works_for_homework homework if work.nil? @@ -2367,7 +2367,7 @@ module ApplicationHelper end end else - link_to "提交(#{homework.student_works.count})",student_work_index_path(:homework => homework.id),:class => "c_blue" + link_to "作品(#{homework.student_works.count})",student_work_index_path(:homework => homework.id),:class => "c_blue" end end