用户课程界面链接BUG修改

This commit is contained in:
nwb 2014-06-20 10:32:51 +08:00
parent 6039cf63af
commit 8cdab80d31
1 changed files with 3 additions and 3 deletions

View File

@ -23,10 +23,10 @@
<%= l(:label_x_base_courses_member, :count => membership.course.members.count) %> <%= l(:label_x_base_courses_member, :count => membership.course.members.count) %>
(<%= "#{membership.course.members.count}" %>)&nbsp;&nbsp; (<%= "#{membership.course.members.count}" %>)&nbsp;&nbsp;
<%= l(:label_homework) %> <%= l(:label_homework) %>
(<span class=""><%= link_to (membership.course.homeworks.count), {:controller => 'courses', :action => 'homework', :id => membership.course.extra} %></span>) (<span class=""><%= link_to (membership.course.homeworks.count), {:controller => 'courses', :action => 'homework', :id => membership.course.id} %></span>)
&nbsp;&nbsp; &nbsp;&nbsp;
<%#= l(:label_course_news) %> <%= l(:label_course_news) %>
(<span style="color: #ed8924"><%#= link_to (membership.course.news.count), {:controller => 'news', :action => 'index', :course_id => membership.course.extra} %></span>) (<span style="color: #ed8924"><%= link_to (membership.course.news.count), {:controller => 'news', :action => 'index', :course_id => membership.course.id} %></span>)
</span></td> </span></td>
</tr> </tr>
<tr> <tr>