diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb
index 08495e5e3..9a7e29f16 100644
--- a/app/views/layouts/base_homework.html.erb
+++ b/app/views/layouts/base_homework.html.erb
@@ -32,9 +32,9 @@
<%= link_to "forge.trustie.net/courses", :controller => 'projects', :action => 'course'%> |
- <%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> >
- <%= link_to(@bid.courses.first.name,project_path(@bid.courses.first)) %> >
- <%=link_to(@bid.name, respond_path(@bid))%> |
+ <%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> >
+ <%= link_to(@bid.courses.first.name, project_path(@bid.courses.first)) %> >
+ <%=link_to(@bid.name, respond_path(@bid)) %> |
@@ -48,7 +48,7 @@
课程名: |
- <%= link_to @bid.courses.first.name,project_path(@bid.courses.first) %>
+ <%= link_to @bid.courses.first.name, homework_project_path(@bid.courses.first) %>
|
diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb
index 80457af33..333702f25 100644
--- a/app/views/layouts/base_projects.html.erb
+++ b/app/views/layouts/base_projects.html.erb
@@ -41,7 +41,7 @@
<%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index', :project_type => 0 %> |
- <%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index', :project_type => 0 %> > <%=link_to @project, project_path(@project) %> |
+ <%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index', :project_type => 0 %> > <%=link_to @project, project_path(@project) %> |
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 78007094c..9642b4e1e 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -60,6 +60,14 @@ h4 {border-bottom: 1px dotted #bbb;}
text-overflow: ellipsis;
}
+.top-content-list-homework{
+ width: 650px;
+ white-space: nowrap;
+ overflow: hidden;
+ -o-text-overflow: ellisis;
+ text-overflow: ellipsis;
+}
+
/*added by bai*/
.top-course-content{
background-color: rgb(181,227, 251);