用户课程界面链接BUG修改
This commit is contained in:
parent
6039cf63af
commit
8cdab80d31
|
@ -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}" %>)
|
(<%= "#{membership.course.members.count}" %>)
|
||||||
<%= 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>)
|
||||||
|
|
||||||
<%#= 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>
|
||||||
|
|
Loading…
Reference in New Issue