diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb
index aeae81f1a..a98e5e769 100644
--- a/app/views/layouts/base_homework.html.erb
+++ b/app/views/layouts/base_homework.html.erb
@@ -33,7 +33,7 @@
forge.trustie.net/courses |
<%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> >
- <%= link_to(@bid.courses.first.name, project_path(@bid.courses.first)) %> >
+ <%= link_to(@bid.courses.first.name.slice(0..6), project_path(@bid.courses.first)) %> >
<%=link_to(@bid.name, respond_path(@bid))%> |
@@ -44,16 +44,16 @@
-
-
- 课程名: |
-
- <%= link_to @bid.courses.first.name, project_path(@bid.courses.first) %>
+
+
+ 课程名: |
+
+ <%= link_to @bid.courses.first.name.slice(0..6), project_path(@bid.courses.first) %>
|
-
+
作业名: |
-
+ |
<%= h @bid.name %>
|
|