128 lines
5.8 KiB
Plaintext
128 lines
5.8 KiB
Plaintext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<%= stylesheet_link_tag 'pleft','prettify','jquery/jquery-ui-1.9.2','header','new_user','repository','org' %>
|
||
<%= javascript_include_tag 'cookie','project', 'header','prettify','select_list_move','org'%>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
<title>组织主页</title>
|
||
<meta charset="utf-8" />
|
||
<meta name="description" content="<%= Redmine::Info.app_name %>" />
|
||
<meta name="keywords" content="issue,bug,tracker" />
|
||
<%= csrf_meta_tag %>
|
||
<%= favicon %>
|
||
<%= javascript_heads %>
|
||
<%= heads_for_theme %>
|
||
<link href="css/public.css" rel="stylesheet" type="text/css" />
|
||
<link href="css/leftside.css" rel="stylesheet" type="text/css" />
|
||
<link href="css/org.css" rel="stylesheet" type="text/css" />
|
||
<script src="js/jquery-1.3.2.js" type="text/javascript"></script>
|
||
<script type="text/javascript" src="js/bootstrap.js"></script>
|
||
<script>
|
||
$(document).ready(function(){
|
||
h1 = $(".homepageLeft").height();
|
||
if ($("#orgMain").height()< h1) {$("#orgMain").height(h1-42);}
|
||
})
|
||
</script>
|
||
</head>
|
||
|
||
<body>
|
||
<div class="orgContainer">
|
||
<div class="orgNav">
|
||
<div class="navOrgLogo fl"><a href="javascript:void(0);"><img src="/images/home_logo.png" width="21" height="19" alt="确实Trustie" class="mt3" /></a></div>
|
||
<ul>
|
||
<li class="navOrgMenu fl"><a href="javascript:void(0);" class="linkGrey8 f14">首页</a></li>
|
||
<li class="navOrgMenu fr"><a href="javascript:void(0);" class="linkGrey8 f14">登录</a></li>
|
||
<li class="navOrgMenu fr"><a href="javascript:void(0);" class="linkGrey8 f14 mr15">注册</a></li>
|
||
</ul>
|
||
<!--<div class="navHomepageProfile">
|
||
<ul>
|
||
<li class="homepageProfileMenuIcon"><a href="javascript:void(0);">
|
||
<div class="mt5 mb8"><img src="images/homepageProfileImage.png" width="40" height="40" /></div>
|
||
</a>
|
||
<ul class="topnav_login_list" style="display:none;">
|
||
<li><a href="javascript:void(0);" class="menuGrey">修改资料</a> </li>
|
||
<li><a href="javascript:void(0);" class="menuGrey">账号设置</a> </li>
|
||
<li><a href="javascript:void(0);" class="menuGrey">退出</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>-->
|
||
</div>
|
||
</div>
|
||
<div class="homepageContentContainer">
|
||
<div class="homepageContent">
|
||
<div class="homepageLeft">
|
||
<div class="homepagePortraitContainer">
|
||
<!--<div class="pr_info_logo fl mr10 mb5">-->
|
||
|
||
<div class="pr_info_logo fl fl mr10 mb5" id="homepage_portrait_image">
|
||
<%= 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 %>
|
||
<div id="edit_org_file_btn" class="none">
|
||
<div class="homepageEditProfile">
|
||
<a href="<%= clear_org_avatar_temp_organization_path(@organization) %>" data-remote="true" class="homepageEditProfileIcon"></a>
|
||
</div>
|
||
</div>
|
||
<% end %>
|
||
<% end%>
|
||
</div>
|
||
<div class="orgName fl mb5 f14">
|
||
<%= link_to @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>
|
||
|
||
<% if User.current.admin_of_org?(@organization) and params[:show_homepage].nil? %>
|
||
<a href="<%= setting_organization_path(@organization) %>" class="pr_join_a c_white"><span class="pr_setting"></span>配置</a>
|
||
<% end %>
|
||
|
||
<div class="cl"></div>
|
||
<div class="f12 fontGrey3">
|
||
<%= link_to '文章', organization_org_document_comments_path(@organization) %> (
|
||
<%= link_to OrgDocumentComment.where("organization_id =? and parent_id is null", @organization.id).count, organization_org_document_comments_path(@organization), :class => "linkBlue" %>
|
||
) |
|
||
<%= link_to '成员', members_organization_path(@organization.id) %> (<%= link_to @organization.org_members.count, members_organization_path(@organization.id), :id => 'org_members_count_id', :class => "linkBlue" %>)
|
||
</div>
|
||
</div>
|
||
<div class="homepageLeftMenuContainer" id="sub_field_left_lists">
|
||
<%= render :partial => "organizations/org_left_subfield_list", :locals => {:organization => @organization} %>
|
||
</div>
|
||
</div>
|
||
<div class="homepageRight" style="margin-top:0px;">
|
||
<%= render_flash_messages %>
|
||
<%= yield %>
|
||
<%= call_hook :view_layouts_base_content %>
|
||
<div style="clear:both;"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="cl"></div>
|
||
<div id="Footer">
|
||
<div class="footerAboutContainer">
|
||
<ul class="footerAbout">
|
||
<li class="fl"><a href="javascript:void:(0);" class=" f_grey mw20" target="_blank">关于我们</a>|</li>
|
||
<li class="fl"><a href="javascript:void:(0);" class=" f_grey mw20" target="_blank">服务协议</a>|</li>
|
||
<li class="fl"><a href="javascript:void:(0);" class="f_grey mw20" target="_blank">帮助中心</a>|</li>
|
||
<li class="fl"><a href="javascript:void:(0);" class=" f_grey mw20" target="_blank">贴吧交流</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="cl"></div>
|
||
|
||
<ul class="copyright mt10">
|
||
<li class="fl mr30">Copyright © 2007-2015, All Rights Riserved</li>
|
||
<li>ICP备09019772</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div id="ajax-modal" style="display:none;"></div>
|
||
|
||
<div id="ajax-indicator" style="display:none;">
|
||
<span><%= l(:label_loading) %></span>
|
||
</div>
|
||
</body>
|
||
</html>
|