课程列表已关闭课程标识出来
This commit is contained in:
parent
7f2f2c5d40
commit
fe91442c96
|
@ -1,6 +1,6 @@
|
||||||
<% courses.each do |course|%>
|
<% courses.each do |course|%>
|
||||||
<li class="homepageLeftMenuCoursesLine">
|
<li class="homepageLeftMenuCoursesLine">
|
||||||
<%= link_to course.name, course_path(course.id,:host=>Setting.host_course), :class => "coursesLineGrey"%>
|
<%= link_to (course_endTime_timeout?(course) ? "[已关闭] #{course.name}" : "#{course.name}").html_safe, course_path(course.id,:host=>Setting.host_course), :class => "coursesLineGrey"%>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue