diff --git a/app/views/courses/homework.html.erb b/app/views/courses/homework.html.erb index 8d79c9607..bc210fcff 100644 --- a/app/views/courses/homework.html.erb +++ b/app/views/courses/homework.html.erb @@ -1,9 +1,11 @@
-

课程作业

+

+ <%= l(:label_homework)%> +

- 共有<%= @obj_count%>个作业 + <%= l(:label_totle)%><%= @obj_count%><%= l(:label_homework_count)%>

<%= link_to( l(:label_course_homework_new), new_homework_course_path(@course), :class => 'problem_new_btn fl c_dorange') if @is_teacher %>
@@ -16,7 +18,7 @@ <%= l(:label_user_create_project_homework) %>: <%= link_to(bid.name, course_for_bid_path(bid), :class => 'problem_tit fl fb c_dblue') %>
-

已提交的作业 ( <%= link_to bid.homeworks.count, course_for_bid_path(bid.id), :class => 'c_red'%> )

+

<%= l(:lebel_homework_commit)%> ( <%= link_to bid.homeworks.count, course_for_bid_path(bid.id), :class => 'c_red'%> )

<% if @is_teacher%> <%= bid_anonymous_comment(bid)%> <%= link_to(l(:button_edit),edit_bid_path(:course_id =>@course.id, :bid_id => bid.id), :class => "fr mr10 work_edit") %> @@ -24,8 +26,8 @@

<%= textilizable bid, :description %> -
创建时间 : <%= format_time bid.created_on%>

-
展开更多信息 +
<%= l(:label_create_time)%> : <%= format_time bid.created_on%>

+
<%= l(:label_expend_information)%>
diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 2618c8b46..205db44ba 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2081,4 +2081,9 @@ zh: label_input_email: 请输入邮箱地址 project_module_files: 资源库 + label_totle: 共有 + label_homework_count: 个作业 + lebel_homework_commit: 已提交的作业 + +