班级左侧导航栏的活跃度和英雄榜链接错误
This commit is contained in:
parent
4a04d1c271
commit
649f87a43f
|
@ -4,7 +4,7 @@
|
|||
<ul class="rankList">
|
||||
<h3 style="font-size: 14px; font-weight: normal;">
|
||||
<% if (User.current.logged? && course.open_student == 1) || (User.current.member_of_course?(course)) || User.current.admin? %>
|
||||
<%= link_to "活跃度", course_member_path(course, :role => 2, :sort_type => 'act_score'), :class => 'fontGrey3' %>
|
||||
<%= link_to "活跃度", course_statistics_course_path(@course), :class => 'fontGrey3' %>
|
||||
<% else %>
|
||||
<span class="fontGrey7"> 活跃度 </span>
|
||||
<% end %>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<ul class="rankList">
|
||||
<h4 style="font-size: 14px; font-weight: normal;">
|
||||
<% if (User.current.logged? && course.open_student == 1) || (User.current.member_of_course?(course)) || User.current.admin? %>
|
||||
<%= link_to "英雄榜", course_member_path(course, :role => 2), :class => 'fontGrey3' %>
|
||||
<%= link_to "英雄榜", course_statistics_course_path(@course, :tab => 2), :class => 'fontGrey3' %>
|
||||
<% else %>
|
||||
<span class="fontGrey7">英雄榜</span>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue