对课程、项目、作业页面 当前位置显示做了隐藏

This commit is contained in:
huangjingquan 2013-11-12 10:44:15 +08:00
parent 89f01e2aba
commit 7935520612
3 changed files with 13 additions and 5 deletions

View File

@ -32,9 +32,9 @@
</tr>
<tr>
<td style="padding-left: 8px"><a><%= link_to "forge.trustie.net/courses", :controller => 'projects', :action => 'course'%></a></td>
<td ><%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> >
<span><%= link_to(@bid.courses.first.name,project_path(@bid.courses.first)) %></span> >
<%=link_to(@bid.name, respond_path(@bid))%></td>
<td><p class="top-content-list-homework"><%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> >
<span><%= link_to(@bid.courses.first.name, project_path(@bid.courses.first)) %></span> >
<%=link_to(@bid.name, respond_path(@bid)) %></p></td>
</tr>
</table>
</div>
@ -48,7 +48,7 @@
<tr valign="top">
<td style="width: 70px" >课程名:</td>
<td>
<span style=" word-wrap: break-word; word-break: break-all"><strong> <%= link_to @bid.courses.first.name,project_path(@bid.courses.first) %></strong></span>
<span style=" word-wrap: break-word; word-break: break-all"><strong> <%= link_to @bid.courses.first.name, homework_project_path(@bid.courses.first) %></strong></span>
</td>
</tr>
<tr style="">

View File

@ -41,7 +41,7 @@
</tr>
<tr>
<td style="padding-left: 8px"><a><%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index', :project_type => 0 %></a></td>
<td ><%=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) %></td>
<td><p class="top-content-list"><%=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) %></p></td>
</tr>
</table>
</div>

View File

@ -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);