<%= stylesheet_link_tag 'css/common','css/structure','css/public','css/org','repository' %> <%#= stylesheet_link_tag 'pleft','prettify','jquery/jquery-ui-1.9.2','header','new_user','repository','org' %>
组织列表 <%#= form_tag url_for(:controller => 'users', :action => 'search_user_orgs', :id => User.current.id), :method => 'get', :id => "search_org_form", :class=>"resourcesSearchloadBox", :style=>"float:right; margin-top:-5px;" do %>
<% @orgs.each do |org| %>
<%= link_to image_tag(url_to_avatar(org), :width => '78', :height => '78', :alt => '组织logo'), organization_path(org), :class => "linkGrey2" %>
<%= link_to org.name, organization_path(org), :class => 'f16 linkBlue' %>
<%= org.description %>
<% user_name = User.find(org.creator_id).show_name.empty? ? User.find(org.creator_id) : User.find(org.creator_id).show_name %>
创建者:<%= link_to user_name, user_path(org.creator_id), :class => 'linkGrey2', :target => '_blank' %>
您的身份:<%= User.current.admin_of_org?(org) ? "组织管理员" : "组织成员" %>
<% end %>