鼠标移到个人主页的课程列表时,显示tip:课程名,课程学期
This commit is contained in:
parent
a7e19be657
commit
fdfcefd1ed
|
@ -1,6 +1,6 @@
|
|||
<% 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%>
|
||||
<%= 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+"("+course.time.to_s+course.term+")"%>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue