From a594326bceb644dbdec42fc243ec2d162bfaab47 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 28 Oct 2014 15:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=BE=E7=A8=8B=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E4=BF=A1=E6=81=AF=E7=95=8C=E9=9D=A2=E6=95=99=E5=B8=88?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E4=B8=BA=E5=BC=80=E8=AE=BE=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_courses.html.erb | 8 ++++---- config/locales/zh.yml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb index fd21b97a0..04249b3bc 100644 --- a/app/views/layouts/base_courses.html.erb +++ b/app/views/layouts/base_courses.html.erb @@ -202,18 +202,18 @@ <% unless @course.teacher.user_extensions.nil? || @course.teacher.user_extensions.school.nil? %> - <%= l(:label_teacher_work_unit) %> : + <%= l(:label_course_organizers) %> : - - <%= @course.teacher.user_extensions.school %> + + <%= @course.school %> <% else %> - <%= l(:label_teacher_work_unit) %> : + <%= l(:label_course_organizers) %> : <%= l(:field_course_un) %> diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 32cb7dd23..c330b8b90 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2169,3 +2169,4 @@ zh: label_no_contest_news_title: 竞赛标题不能为空 label_contest_news_title_condition: 竞赛标题超过255个汉字 label_subject_empty: 主题不能为空 + label_course_organizers: 开设单位