项目列表中公开项目无法点击
This commit is contained in:
parent
4959910ebe
commit
19d925d592
|
@ -37,7 +37,7 @@
|
|||
<% else %>
|
||||
<% projects.each_with_index do |project, i| %>
|
||||
<div class="syllabus_courses_list <%= i > 4 ? 'none' : ''%>" style="cursor: default;">
|
||||
<% allow_visit = User.current.member_of?(project) || User.current.admin? || project.is_public == 1 %>
|
||||
<% allow_visit = User.current.member_of?(project) || User.current.admin? || project.is_public? %>
|
||||
<div class="sy_courses_open">
|
||||
<span id="collect_project_icon_<%= project.id %>">
|
||||
<%=render :partial => 'collect_project', :locals => {:project => project} %>
|
||||
|
|
Loading…
Reference in New Issue