12 lines
620 B
Plaintext
12 lines
620 B
Plaintext
<% courses.each do |course|%>
|
|
<li class="homepageLeftMenuCoursesLine">
|
|
<%= link_to course.name, course_path(course.id,:host=>Setting.host_course), :class => "coursesLineGrey hidden #{course_endTime_timeout?(course) ? 'c_dark_grey' : ''}", :title => course.name%>
|
|
</li>
|
|
<% end %>
|
|
|
|
<% if courses.size == 5%>
|
|
<li class="homepageLeftMenuMore" id="user_show_more_course">
|
|
<input type="hidden" value="<%= page%>" id="course_page_num">
|
|
<a href="javascript:void(0);" class="homepageLeftMenuMoreIcon" onclick="show_more_course('<%= user_courses4show_user_path(user.id)%>');"></a>
|
|
</li>
|
|
<% end%> |