2015-11-14 10:45:49 +08:00
|
|
|
<% projects.each do |project|%>
|
2015-11-18 16:05:08 +08:00
|
|
|
<%# pro = Project.find project.project_id %>
|
2015-11-14 10:45:49 +08:00
|
|
|
<li class="homepageLeftMenuCoursesLine">
|
2015-11-18 16:05:08 +08:00
|
|
|
<%= link_to project.name, project_path(project.id,:host=>Setting.host_name), :class => "coursesLineGrey hidden", :title => project.name%>
|
2015-11-14 10:45:49 +08:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% if projects.size == 5%>
|
|
|
|
<li class="homepageLeftMenuMore" id="show_more_org_project">
|
|
|
|
<input type="hidden" value="<%= page%>" id="org_project_page_num">
|
|
|
|
<a href="javascript:void(0);" class="homepageLeftMenuMoreIcon" onclick="show_more_org_project('<%= more_org_projects_organization_path(org_id)%>');"></a>
|
|
|
|
</li>
|
|
|
|
<% end%>
|