在组织页面左边,增加项目名称一栏

This commit is contained in:
ouyangxuhua 2015-11-13 09:13:57 +08:00
parent eb64fa7642
commit 2a5eeaa527
2 changed files with 11 additions and 1 deletions

View File

@ -53,12 +53,21 @@
<div class="orgName fl mb5 f14">组织id<%= @organization.id %></div> <div class="orgName fl mb5 f14">组织id<%= @organization.id %></div>
<a href="<%= setting_organization_path(@organization) %>" class="pr_join_a c_white"><span class="pr_setting"></span>配置</a> <a href="<%= setting_organization_path(@organization) %>" class="pr_join_a c_white"><span class="pr_setting"></span>配置</a>
<div style="clear:both;">
<%= link_to l(:label_org_name)+"#{@organization.name}", organization_path(@organization.id), :class=>"pr_info_name fl c_dark fb break_word" %>
<% if @organization.is_public? %>
<span class="img_private"><%= l(:label_public)%></span>
<% else %>
<span class="img_private"><%= l(:label_private)%></span>
<% end %>
</div>
<div class="cl"></div> <div class="cl"></div>
<div class="f12 fontGrey3"> <div class="f12 fontGrey3">
<%= link_to '文章', organization_org_document_comments_path(@organization) %>&nbsp;( <%= link_to '文章', organization_org_document_comments_path(@organization) %>&nbsp;(
<%= link_to OrgDocumentComment.where("organization_id =? and parent_id is null", @organization.id).count, organization_org_document_comments_path(@organization), :class => "linkBlue" %> <%= link_to OrgDocumentComment.where("organization_id =? and parent_id is null", @organization.id).count, organization_org_document_comments_path(@organization), :class => "linkBlue" %>
)&nbsp;|&nbsp; )&nbsp;|&nbsp;
<%= link_to '成员', members_organization_path(@organization.id ) %>&nbsp;<%= @organization.org_members.count %> ) <%= link_to '成员', members_organization_path(@organization.id) %>&nbsp;<%= link_to @organization.org_members.count, members_organization_path(@organization.id) %>
</div> </div>
</div> </div>
<div class="homepageLeftMenuContainer"> <div class="homepageLeftMenuContainer">

View File

@ -2090,5 +2090,6 @@ zh:
label_forums: 贴吧交流 label_forums: 贴吧交流
label_language: 语言 label_language: 语言
label_license: 湘ICP备09019772 label_license: 湘ICP备09019772
label_org_name: 组织名称: