2015-08-24 14:53:35 +08:00
|
|
|
<% projects.each do |project|%>
|
|
|
|
<li class="homepageLeftMenuCoursesLine">
|
2015-08-24 17:04:40 +08:00
|
|
|
<%= link_to project.name, project_path(project.id,:host=>Setting.host_name), :class => "coursesLineGrey hidden", :title => project.name%>
|
2015-08-24 14:53:35 +08:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% if projects.size == 5%>
|
|
|
|
<li class="homepageLeftMenuMore" id="user_show_more_project">
|
|
|
|
<input type="hidden" value="<%= page%>" id="project_page_num">
|
|
|
|
<a href="javascript:void(0);" class="homepageLeftMenuMoreIcon" onclick="show_more_project('<%= user_projects4show_user_path(user.id)%>');"></a>
|
|
|
|
</li>
|
|
|
|
<% end%>
|