diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb
index c399f1cee..3aca2c350 100644
--- a/app/views/welcome/course.html.erb
+++ b/app/views/welcome/course.html.erb
@@ -120,9 +120,9 @@
<%#=course.try(:teacher).try(:name)%>
-
+
[<%= get_course_term course %>]
- <%= link_to(course.name, course_path(course.id), :class => "d-g-blue d-p-project-name", :title => "#{course.name}") %>
+ <%= link_to(course.name.truncate(30, omission: '...'), course_path(course.id), :class => "d-g-blue d-p-project-name", :title => "#{course.name}") %>
(<%= "#{studentCount(course)}人" %>)
<% files_count = course.attachments.count.to_s %>
(<%= link_to "#{files_count}份", course_files_path(course) %>资料)
@@ -161,9 +161,9 @@
<%= link_to(course.try(:teacher).try(:realname), user_path(course.teacher)) %>
-
+
[<%= get_course_term course %>]
- <%= link_to(course.name, course_path(course.id), :class => "d-g-blue d-p-project-name", :title => "#{course.name}") %>
+ <%= link_to(course.name.truncate(30, omission: '...'), course_path(course.id), :class => "d-g-blue d-p-project-name", :title => "#{course.name}") %>
(<%= "#{studentCount(course)}人" %>)
<% files_count = course.attachments.count.to_s %>
(<%= link_to "#{files_count}份", course_files_path(course) %>资料)
@@ -206,10 +206,10 @@
<%= link_to(course.try(:teacher).try(:name), user_path(course.teacher)) %>
-
+
[<%= get_course_term course %>]
- <%= link_to(course.name, course_path(course.id), :class => "d-g-blue d-p-project-name", :title => "#{course.name}") %>
- <%= "#{studentCount(course)}人" %> )
+ <%= link_to(course.name.truncate(30, omission: '...'), course_path(course.id), :class => "d-g-blue d-p-project-name", :title => "#{course.name}") %>
+ (<%= "#{studentCount(course)}人" %> )
<% files_count = course.attachments.count.to_i.to_s %>
(<%= link_to "#{files_count}份", course_files_path(course) %>资料)