<%= image_tag(url_to_avatar(@organization),width:"60", height: "60", :id=>'nh_user_tx') %>
<% if User.current.logged?%>
<% if User.current.id == @organization.creator_id%>
<% end %>
<% end%>
<%= link_to @organization.name, organization_path(@organization.id), :class=>"pr_info_name fl c_dark fb break_word" %>
<% if User.current.logged? %>
<% if @organization.is_public? %>
<%= l(:label_public)%>
<% else %>
<%= l(:label_private)%>
<% end %>
<% end %>
<% if User.current.admin_of_org?(@organization) %>
配置
<% end %>
<% if User.current.logged? %>
<%= link_to '文章', organization_org_document_comments_path(@organization) %>
<% if User.current.logged? %>
(
<%= link_to OrgDocumentComment.where("organization_id =? and parent_id is null", @organization.id).count, organization_org_document_comments_path(@organization), :class => "linkBlue" %>
)
<% end %>
|
<%= link_to '成员', members_organization_path(@organization.id) %>
<% if User.current.logged? %>
(<%= link_to @organization.org_members.count, members_organization_path(@organization.id), :id => 'org_members_count_id', :class => "linkBlue" %>)
<% end %>
<% end %>