2016-03-28 10:39:09 +08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%= h html_title %></title>
<meta name="description" content="<%= Redmine::Info.app_name %>" />
<meta name="keywords" content="issue,bug,tracker" />
<%= csrf_meta_tag %>
<%= favicon %>
<%= javascript_heads %>
<%= heads_for_theme %>
2016-04-01 00:27:34 +08:00
<%= stylesheet_link_tag 'org_new_style','jquery/jquery-ui-1.9.2' %>
<%= javascript_include_tag 'cookie','project', 'organization','header','prettify','select_list_move','org'%>
2016-03-28 10:39:09 +08:00
<%= javascript_include_tag 'attachments' %>
2016-04-01 23:56:05 +08:00
<%#= call_hook :view_layouts_base_html_head %>
2016-03-28 10:39:09 +08:00
<!-- page specific tags -->
2016-04-02 00:14:48 +08:00
<%#= yield :header_tags -%>
2016-03-28 10:39:09 +08:00
<!-- MathJax的配置 -->
<script type="text/javascript"
src="/javascripts/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<!-- 配置 : 在生成的公式图片上去掉Math定义的右键菜单, $$ $$ \( \) \[ \] 中的公式给予显示-->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showMathMenu: false,
showMathMenuMSIE: false,
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
2016-03-28 14:11:40 +08:00
</script>
2016-03-30 17:22:23 +08:00
<script>
jQuery(document).ready(function($){
// browser window scroll (in pixels) after which the "back to top" link is shown
var offset = 300,
//browser window scroll (in pixels) after which the "back to top" link opacity is reduced
offset_opacity = 1200,
//duration of the top scrolling animation (in ms)
scroll_top_duration = 700,
//grab the "back to top" link
$back_to_top = $('.cd-top');
2016-03-28 14:11:40 +08:00
2016-03-30 17:22:23 +08:00
//hide or show the "back to top" link
$(window).scroll(function(){
( $(this).scrollTop() > offset ) ? $back_to_top.addClass('cd-is-visible') : $back_to_top.removeClass('cd-is-visible cd-fade-out');
if( $(this).scrollTop() > offset_opacity ) {
$back_to_top.addClass('cd-fade-out');
}
});
//smooth scroll to top
$back_to_top.on('click', function(event){
event.preventDefault();
$('body,html').animate({
scrollTop: 0 ,
}, scroll_top_duration
);
});
});
</script>
2016-03-28 14:11:40 +08:00
2016-03-28 10:39:09 +08:00
</head>
2016-04-01 00:27:34 +08:00
2016-03-28 10:39:09 +08:00
<!--add by huang-->
2016-04-01 00:27:34 +08:00
<script type="text/javascript">
2016-04-19 09:18:58 +08:00
function org_new_files_upload()
2016-04-01 00:27:34 +08:00
{
2016-04-19 09:18:58 +08:00
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'files/upload_org_new_files',:locals => {:org => @organization, :org_attachment_type => 0}) %>');
2016-04-01 00:27:34 +08:00
showModal('ajax-modal', '513px');
$('#ajax-modal').siblings().remove();
$('#ajax-modal').before("<a href='javascript:void(0)' onclick='hideModal()' style='margin-left: 480px;'><img src='/images/bid/close.png' width='26px' height='26px' /></a>");
$('#ajax-modal').parent().css("top","40%").css("left","36%").css("border","3px solid #269ac9");
$('#ajax-modal').parent().addClass("popbox_polls");
}
2016-04-06 10:40:38 +08:00
2016-04-19 09:18:58 +08:00
function org_new_files_banner_upload()
2016-04-06 10:40:38 +08:00
{
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'files/upload_org_new_files_banner',:locals => {:org => @organization, :org_attachment_type => 1}) %>');
showModal('ajax-modal', '513px');
$('#ajax-modal').siblings().remove();
$('#ajax-modal').before("<a href='javascript:void(0)' onclick='hideModal()' style='margin-left: 480px;'><img src='/images/bid/close.png' width='26px' height='26px' /></a>");
$('#ajax-modal').parent().css("top","40%").css("left","36%").css("border","3px solid #269ac9");
$('#ajax-modal').parent().addClass("popbox_polls");
}
2016-04-01 00:27:34 +08:00
</script>
2016-03-28 10:39:09 +08:00
<body onload="prettyPrint();">
2016-03-28 14:11:40 +08:00
<div class="cl"></div>
<div class="container">
2016-03-30 17:22:23 +08:00
<div class="header">
<div class="header-con">
2016-04-02 00:31:36 +08:00
<% if User.current.admin_of_org?(@organization) %>
2016-04-07 17:05:22 +08:00
<div class="logo fl">
2016-04-19 09:18:58 +08:00
<% if @org_logo_attchment.blank? %>
<a class="logo-img"><img src="/images/org_new_style/logo.jpg" alt=""/></a>
<% else %>
<img src="/attachments/<%= @org_logo_attchment.id %>/<%= @org_logo_attchment.filename %>" class="logo-img">
<% end %>
<a href="#" class="logo-add" title="点击替换LOGO" onclick="org_new_files_upload();"></a>
2016-04-07 17:05:22 +08:00
</div>
2016-04-02 00:31:36 +08:00
<% else %>
2016-04-07 17:05:22 +08:00
<div class="logo fl">
2016-04-19 09:18:58 +08:00
<% if @org_logo_attchment.blank? %>
<a class="logo-img"><img src="/images/org_new_style/logo.jpg" alt=""/></a>
<% else %>
<img src="/attachments/<%= @org_logo_attchment.id %>/<%= @org_logo_attchment.filename %>" class="logo-img">
<% end %>
2016-04-07 17:05:22 +08:00
</div>
2016-04-02 00:31:36 +08:00
<% end %>
2016-03-30 17:22:23 +08:00
<%= render :partial => 'organizations/org_logined_header' %>
</div>
<div class="cl"></div>
</div><!--header end-->
2016-03-29 18:25:16 +08:00
2016-03-30 17:22:23 +08:00
<div class="nav-box">
2016-04-07 17:05:22 +08:00
<div class="nav-con">
<div class="nav fl">
<% @subfield_content.each do |field| %>
<% if is_default_field?(field) %>
<% case field.name %>
<% when 'activity' %>
<%= link_to "首页", organization_path(@organization), :class => "fl navact" %>
<% when 'course' %>
<a href="#course_<%= field.id %>" class="fl"> 课程动态</a>
<% when 'project' %>
<a href="#project_<%= field.id %>" class="fl">项目动态</a>
<% end %>
<% else %>
<% if field.field_type == "Post" && field.hide == 0 %>
<a href="#message_<%= field.id %>" class="fl"><%= field.name %></a>
<% elsif field.field_type == "Resource" && field.hide == 0 %>
<a href="#resource_<%= field.id %>" class="fl"><%= field.name %></a>
<% end %>
<% end %>
<% end %>
<% if User.current.admin_of_org?(@organization) %>
<a href="<%= setting_organization_path(@organization) %>" class="fl">配置</a>
<% end %>
</div>
<div class="cl"></div>
2016-03-30 17:22:23 +08:00
</div>
2016-04-07 17:05:22 +08:00
</div>
<!--nav end-->
2016-03-29 18:25:16 +08:00
2016-03-30 17:22:23 +08:00
<div class="banner">
2016-04-06 10:40:38 +08:00
<div class="banner-inner">
<% if User.current.admin_of_org?(@organization) %>
2016-04-07 17:05:22 +08:00
<% if @org_banner_attchment.blank? %>
<img class="banner-img" src="/images/org_new_style/banner.jpg" alt=""/>
<% else %>
<img src="/attachments/<%= @org_banner_attchment.id %>/<%= @org_banner_attchment.filename %>" class="banner-img">
<% end %>
2016-04-19 09:18:58 +08:00
<a href="#" class="banner-add" title="点击替换图片" onclick="org_new_files_banner_upload();"></a>
2016-04-07 17:05:22 +08:00
<div class="banner-txt">
<p ><%= @organization.name %></p>
</div>
2016-04-06 10:40:38 +08:00
<% else %>
2016-04-07 17:05:22 +08:00
<% if @org_banner_attchment.blank? %>
<img class="banner-img" src="/images/org_new_style/banner.jpg" alt=""/>
<% else %>
<img src="/attachments/<%= @org_banner_attchment.id %>/<%= @org_banner_attchment.filename %>" class="banner-img">
<% end %>
<div class="banner-txt">
<p ><%= @organization.name %></p>
</div>
2016-04-06 10:40:38 +08:00
<% end %>
</div>
2016-03-30 17:22:23 +08:00
</div>
2016-03-29 18:25:16 +08:00
2016-03-30 17:22:23 +08:00
<!--模块-->
<% @subfield_content.each do |field| %>
<% if is_default_field?(field) %>
<% case field.name %>
2016-03-30 19:02:41 +08:00
<% when 'course' %>
2016-03-31 17:06:00 +08:00
<div class="box1 bg-grey" style="display:<%= field.hide == 0?'block':'none' %>;">
2016-03-31 16:19:59 +08:00
<% if field.status == 0 %>
2016-03-31 19:33:43 +08:00
<div class="content ">
<div class="box-top" id="course_<%= field.id %>"><h2 class="box-title">课程动态</h2></div>
2016-04-01 17:23:15 +08:00
<% if @course_acts.blank? %>
2016-03-31 19:33:43 +08:00
<p class="nocontent">暂无内容,敬请期待!</p>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
<div class="cl"></div>
2016-03-31 19:33:43 +08:00
<% else %>
<div class="course-list">
<ul class="clearfix">
<% unless @course_acts.nil? %>
<%= render :partial => 'organizations/org_new_course_pic', :locals => {:activities => @course_acts.first(3)} %>
<% end %>
<div class="cl"></div>
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
<div class="cl"></div>
</ul>
</div>
<% end %>
</div><!--content end-->
2016-03-31 15:25:02 +08:00
<% else %>
<div class="content">
<div class="box-top" id="course_<%= field.id %>"><h2 class="box-title">课程动态</h2></div>
2016-04-01 17:23:15 +08:00
<% if @course_acts.blank? %>
2016-03-31 16:19:59 +08:00
<p class="nocontent">暂无内容,敬请期待!</p>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
<div class="cl"></div>
2016-03-31 16:19:59 +08:00
<% else %>
<div class="row">
2016-03-31 15:25:02 +08:00
<%= render :partial => 'organizations/org_new_course_act_list', :locals =>{:activities => @course_acts, :field => field, :organization => @organization} %>
2016-03-31 16:19:59 +08:00
<!--row-ziyuan end-->
</div>
<div class="cl"></div>
2016-03-31 19:04:31 +08:00
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
2016-03-31 16:19:59 +08:00
<div class="cl"></div>
<% end %>
2016-03-31 15:25:02 +08:00
</div><!--row end-->
<% end %>
2016-03-30 17:22:23 +08:00
</div><!--box1 end-->
<% when 'project' %>
2016-03-31 17:06:00 +08:00
<div class="box1" style="display:<%= field.hide == 0?'block':'none' %>;">
2016-03-31 16:19:59 +08:00
<% if field.status == 0 %>
2016-03-31 17:06:00 +08:00
<div class="content ">
<div class="box-top" id="project_<%= field.id %>"><h2 class="box-title">项目动态</h2><p class="box-title-p"></p></div>
2016-04-01 17:23:15 +08:00
<% if @project_acts.blank? %>
2016-03-31 16:19:59 +08:00
<p class="nocontent">暂无内容,敬请期待!</p>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
<div class="cl"></div>
2016-03-31 16:19:59 +08:00
<% else %>
<div class="course-list">
<ul class="clearfix">
<% unless @project_acts.nil? %>
2016-03-31 17:06:00 +08:00
<%= render :partial => 'organizations/org_new_project_pic', :locals => {:activities => @project_acts.first(3)} %>
2016-03-31 16:19:59 +08:00
<% end %>
<div class="cl"></div>
2016-03-31 19:04:31 +08:00
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
2016-03-31 16:19:59 +08:00
<div class="cl"></div>
</ul>
</div>
<% end %>
2016-03-31 15:25:02 +08:00
2016-03-30 17:22:23 +08:00
</div><!--content end-->
2016-03-31 15:25:02 +08:00
<% else %>
<div class="content">
2016-03-31 17:06:00 +08:00
<div class="box-top" style="display:<%= field.hide == 0?'block':'none' %>;" id="project_<%= field.id %>"><h2 class="box-title">项目动态</h2><p class="box-title-p"></p></div>
2016-04-01 17:23:15 +08:00
<% if @project_acts.blank? %>
2016-03-31 16:19:59 +08:00
<p class="nocontent">暂无内容,敬请期待!</p>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
<div class="cl"></div>
2016-03-31 16:19:59 +08:00
<% else %>
<div class="row">
<%= render :partial => 'organizations/org_new_project_act_list', :locals =>{:activities => @project_acts, :field => field, :organization => @organization} %>
<!--row-ziyuan end-->
</div>
<div class="cl"></div>
2016-03-31 19:04:31 +08:00
<%= link_to "More", organization_path(@organization, :list =>1), :class => "more-btn-center mt30" , :target => "_blank" %>
2016-03-31 16:19:59 +08:00
<div class="cl"></div>
<% end %>
2016-03-31 15:25:02 +08:00
</div><!--row end-->
<% end %>
2016-03-31 17:06:00 +08:00
</div>
2016-03-30 17:22:23 +08:00
<% end %>
<% else %>
<% if field.field_type == "Post" %> <%# 讨论类型 %>
2016-04-01 17:23:15 +08:00
<% org_subfield = OrgSubfield.find(field.id) %>
<% org_subfield_ids = org_subfield.org_document_comments.map(&:id) << 0 %>
<% org_acts = OrgActivity.where("(org_act_type='OrgDocumentComment'and org_act_id in (#{org_subfield_ids.join(",")})) || (container_type='OrgSubfield' and container_id=#{org_subfield.id})").order('updated_at desc') %>
<%# message_ats = get_message_org(@organization.id, field.id) %>
<%# ids = field.org_document_comments.map{|o| o.id}.join(",") %>
2016-03-30 17:22:23 +08:00
<div class="box1 bg-grey" style="display:<%= field.hide == 0?'block':'none' %>;" id="org_subfield_<%= field.id %>">
2016-03-31 16:19:59 +08:00
<% if field.status == 0 %>
2016-03-31 15:25:02 +08:00
<div class="content">
<div class="box-top" id="message_<%= field.id %>"><h2 class="box-title"><%= field.name %></h2></div>
2016-04-01 17:23:15 +08:00
<% if org_acts.blank? %>
2016-03-31 16:19:59 +08:00
<p class="nocontent">暂无内容,敬请期待!</p>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
2016-03-31 20:54:01 +08:00
<% if !field.subfield_subdomain_dir.nil? %> <!--讨论帖子-->
<% if !request.local? and Secdomain.where("sub_type=2 and pid=?", @organization.id).count > 0 and Secdomain.where("sub_type=2 and pid=?", @organization.id).map(&:subname).include?(request.subdomain) %>
<%= link_to "More", show_subfield_without_id_path(:sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% else %>
<%= link_to "More", show_org_subfield_organization_path(:id => @organization.id, :sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
<% else %>
<%= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
<%#= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
2016-03-31 16:19:59 +08:00
<% else %>
<div class="course-list">
<ul class="clearfix">
2016-04-01 17:23:15 +08:00
<% org_acts.first(3).each do |act| %>
2016-03-31 16:19:59 +08:00
<%= render :partial => 'organizations/org_new_forum_pic', :locals => {:activity => act, :field => field, :organization => @organization} %>
<% end %>
<div class="cl"></div>
</ul>
2016-03-31 20:54:01 +08:00
<% if !field.subfield_subdomain_dir.nil? %> <!--讨论帖子-->
<% if !request.local? and Secdomain.where("sub_type=2 and pid=?", @organization.id).count > 0 and Secdomain.where("sub_type=2 and pid=?", @organization.id).map(&:subname).include?(request.subdomain) %>
<%= link_to "More", show_subfield_without_id_path(:sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% else %>
<%= link_to "More", show_org_subfield_organization_path(:id => @organization.id, :sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
<% else %>
<%= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
<%#= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
2016-03-31 16:19:59 +08:00
<div class="cl"></div>
</div>
<% end %>
2016-03-28 14:11:40 +08:00
2016-03-31 15:25:02 +08:00
</div><!--content end-->
<% else %>
<div class="content">
2016-03-31 17:13:40 +08:00
<div class="box-top" id="message_<%= field.id %>"><h2 class="box-title"><%= field.name %></h2></div>
2016-04-01 17:23:15 +08:00
<% if org_acts.blank? %>
2016-03-31 16:19:59 +08:00
<p class="nocontent">暂无内容,敬请期待!</p>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
2016-03-31 20:54:01 +08:00
<% if !field.subfield_subdomain_dir.nil? %> <!--讨论帖子-->
<% if !request.local? and Secdomain.where("sub_type=2 and pid=?", @organization.id).count > 0 and Secdomain.where("sub_type=2 and pid=?", @organization.id).map(&:subname).include?(request.subdomain) %>
<%= link_to "More", show_subfield_without_id_path(:sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% else %>
<%= link_to "More", show_org_subfield_organization_path(:id => @organization.id, :sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
<% else %>
<%= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
2016-03-31 16:19:59 +08:00
<% else %>
<div class="row">
2016-04-01 17:23:15 +08:00
<% org_acts.each do |act| %>
2016-03-31 16:19:59 +08:00
<%= render :partial => 'organizations/org_new_forum_list', :locals => {:activity => act, :field => field, :organization => @organization} %>
<% end %>
<!--row-ziyuan end-->
</div>
<div class="cl"></div>
2016-03-31 20:54:01 +08:00
<% if !field.subfield_subdomain_dir.nil? %> <!--讨论帖子-->
<% if !request.local? and Secdomain.where("sub_type=2 and pid=?", @organization.id).count > 0 and Secdomain.where("sub_type=2 and pid=?", @organization.id).map(&:subname).include?(request.subdomain) %>
<%= link_to "More", show_subfield_without_id_path(:sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% else %>
<%= link_to "More", show_org_subfield_organization_path(:id => @organization.id, :sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
<% else %>
<%= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
<% end %>
2016-03-31 16:19:59 +08:00
<div class="cl"></div>
<% end %>
2016-03-31 15:25:02 +08:00
</div><!--row end-->
<div class="cl"></div>
<% end %>
2016-03-30 17:22:23 +08:00
</div><!--box1 end-->
<% elsif field.field_type == "Resource" %>
<% org_attachs = get_attach_org2(field) %>
<div class="box1" style="display:<%= field.hide == 0?'block':'none' %>;" id="org_subfield_<%= field.id %>">
<div class="content">
2016-03-31 16:19:59 +08:00
<div class="box-top" id="resource_<%= field.id %>"><h2 class="box-title"><%= field.name %></h2></div>
2016-03-31 17:06:00 +08:00
<% if org_attachs.blank? %>
2016-03-31 16:19:59 +08:00
<p class="nocontent">暂无内容,敬请期待!</p>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
2016-03-31 20:46:55 +08:00
<% if !field.subfield_subdomain_dir.nil? %>
2016-03-31 20:54:01 +08:00
<% if !request.local? and Secdomain.where("sub_type=2 and pid=?", @organization.id).count > 0 and Secdomain.where("sub_type=2 and pid=?", @organization.id).map(&:subname).include?(request.subdomain) %>
2016-03-31 20:46:55 +08:00
<%= link_to "More", show_subfield_without_id_path(:sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30", :target => "_blank" %>
<% else %>
2016-03-31 20:54:01 +08:00
<%= link_to "More", show_org_subfield_organization_path(:id => @organization.id, :sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30", :target => "_blank" %>
2016-03-31 20:46:55 +08:00
<% end %>
<% else %>
<%= link_to "More", org_subfield_files_path(field), :class => "more-btn-center mt30", :target => "_blank" %>
<% end %>
<%#= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
2016-03-31 20:12:20 +08:00
<div class="cl"></div>
2016-03-31 16:19:59 +08:00
<% else %>
<div class="row">
<%= render :partial => 'organizations/org_new_resource', :locals => {:org_attachs => org_attachs} %>
<!--row-ziyuan end-->
</div>
<div class="cl"></div>
2016-03-31 20:46:55 +08:00
<% if !field.subfield_subdomain_dir.nil? %>
2016-03-31 21:14:07 +08:00
<% if !request.local? and Secdomain.where("sub_type=2 and pid=?", @organization.id).count > 0 and Secdomain.where("sub_type=2 and pid=?", @organization.id).map(&:subname).include?(request.subdomain) %>
2016-03-31 20:46:55 +08:00
<%= link_to "More", show_subfield_without_id_path(:sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30", :target => "_blank" %>
<% else %>
2016-03-31 21:14:07 +08:00
<%= link_to "More", show_org_subfield_organization_path(:id => @organization.id, :sub_dir_name => field.subfield_subdomain_dir.name), :class => "more-btn-center mt30", :target => "_blank" %>
2016-03-31 20:46:55 +08:00
<% end %>
<% else %>
<%= link_to "More", org_subfield_files_path(field), :class => "more-btn-center mt30", :target => "_blank" %>
<% end %>
<%#= link_to "More", organization_path(@organization, :org_subfield_id => field.id), :class => "more-btn-center mt30" , :target => "_blank" %>
2016-03-31 16:19:59 +08:00
<div class="cl"></div>
<% end %>
2016-03-29 13:43:28 +08:00
</div><!--row end-->
<div class="cl"></div>
</div><!--box1 end-->
2016-03-30 17:22:23 +08:00
</div>
<% end %>
<% end %>
<% end %>
2016-03-29 11:31:58 +08:00
2016-04-19 09:18:58 +08:00
<%# 更新访问数,刷新的时候更新访问次数 %>
<% update_visiti_count @organization %>
<%# over %>
2016-03-28 10:39:09 +08:00
2016-03-30 17:22:23 +08:00
<div class="footer">
<div class="footer-con">
<ul>
<li><a href="<%= about_us_path %>" target="_blank" class="fl">关于我们</a></li>
<li><a href="<%= agreement_path %>" target="_blank" class="fl"> 服务协议 </a></li>
2016-10-09 16:55:41 +08:00
<% memo = Memo.where(:id => 1168).first %>
<% unless memo.nil? %>
2016-03-30 17:22:23 +08:00
<li><a href="http://forge.trustie.net/forums/1/memos/1168" target="_blank" class="fl">帮助中心</a></li>
2016-10-09 16:55:41 +08:00
<% end %>
2016-03-30 17:22:23 +08:00
<li><a href="<%= forums_path(:reorder_complex=>'desc')%>" target="_blank" class="fl"> 贴吧交流</a></li>
</ul>
<div class="cl"></div>
<p>Copyright 2007~2016 All Rights Reserved<br>湘ICP备09019772</p>
</div>
2016-03-28 14:11:40 +08:00
</div>
2016-03-30 17:22:23 +08:00
<!--backtop end-->
<main class="cd-container">
</main>
<a href="#0" class="cd-top">Top</a>
2016-03-28 14:11:40 +08:00
2016-03-30 17:22:23 +08:00
</div><!--container end-->
2016-03-28 14:11:40 +08:00
2016-03-30 17:22:23 +08:00
<!--页面底部-->
<div class="cl"></div>
<div id="ajax-modal" style="display:none;"></div>
2016-03-28 10:39:09 +08:00
2016-03-30 17:22:23 +08:00
<div id="ajax-indicator" style="display:none;">
<span><%= l(:label_loading) %></span>
</div>
2016-04-01 23:56:05 +08:00
<%#= call_hook :view_layouts_base_body_bottom %>
2016-03-30 17:22:23 +08:00
</body>
2016-03-28 10:39:09 +08:00
</html>