|
|
@ -90,14 +90,13 @@
|
|
|
|
<li><%= link_to '新建项目', new_project_path() %></li>
|
|
|
|
<li><%= link_to '新建项目', new_project_path() %></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<ul class="fl with50 edu-txt-center">
|
|
|
|
<ul class="fl with50 edu-txt-center">
|
|
|
|
<li>
|
|
|
|
<% if User.current.profile_completed? %>
|
|
|
|
<% if User.current.profile_completed? %>
|
|
|
|
<li><%= link_to "加入课堂", join_private_courses_path, :remote => true %></li>
|
|
|
|
<%= link_to "加入课堂", join_private_courses_path, :remote => true %>
|
|
|
|
<li><%= link_to "加入项目", applied_join_project_path, :remote => true %></li>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<%= link_to "加入课堂", 'javascript:void(0)', onclick: 'showUserProfileModal()' %>
|
|
|
|
<li><%= link_to "加入课堂", 'javascript:void(0)', onclick: 'showUserProfileModal()' %></li>
|
|
|
|
<% end %>
|
|
|
|
<li><%= link_to "加入项目", 'javascript:void(0)', onclick: 'showUserProfileModal()' %></li>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<!-- <li><%#= link_to "加入项目", applied_join_project_path, :remote => true %></li>-->
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|