|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
<%= join_in_project_link(@project, User.current) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<!--退出项目-->
|
|
|
|
|
<% if ((User.current.member_of? @project) && User.current.login? && User.current.allowed_to?({:controller => 'projects', :action => 'settings'}, @project)) %>
|
|
|
|
|
<% if User.current.admin? || User.current.allowed_to?({:controller => 'projects', :action => 'settings'}, @project) %>
|
|
|
|
|
<%= link_to "<span class='pr_setting'></span>#{l(:button_configure)}".html_safe, settings_project_path(@project), :class => "pr_join_a" %>
|
|
|
|
|
<%= link_to "<span class='#{get_project_type_css(@project_type_new)}'></span>#{text}".html_safe,"javascript:void(0)" ,:onClick => "show_window();", :class => "pr_join_a",:id => "setting_project_type"%>
|
|
|
|
|
<% end %>
|
|
|
|
|