parent
60417b2db7
commit
153efb7eda
@ -0,0 +1,9 @@
|
|||||||
|
<% if !User.current.member_of?(@project) && User.current.login? && !User.current.admin %>
|
||||||
|
<span><%= watcher_link_for_project(@project, User.current) %></span>
|
||||||
|
<!--加入项目 -->
|
||||||
|
<% if AppliedProject.where(:user_id => User.current, :project_id => @project_id).first.nil? %>
|
||||||
|
<%= join_in_project_link(@project, User.current) %>
|
||||||
|
<% else %>
|
||||||
|
等待审批
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
Loading…
Reference in new issue