|
|
@ -12,25 +12,29 @@
|
|
|
|
.homepagePostReplyInputContainer .ke-inline-block {display: none;}
|
|
|
|
.homepagePostReplyInputContainer .ke-inline-block {display: none;}
|
|
|
|
.homepagePostReplyInputContainer .ke-container {float: left;}
|
|
|
|
.homepagePostReplyInputContainer .ke-container {float: left;}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<% if !@organization.home_id.nil? and OrgDocumentComment.where("id = ?", @organization.home_id).count > 0 %>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
|
|
|
init_activity_KindEditor_data(<%= @organization.home_id%>, null, "87%");
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<%= render :partial => 'show_org_document', :locals => {:document => OrgDocumentComment.find(@organization.home_id)} %>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="homepageRightBanner">
|
|
|
|
<div class="homepageRightBanner">
|
|
|
|
<div class="NewsBannerName">最新动态</div>
|
|
|
|
<div class="NewsBannerName">最新动态</div>
|
|
|
|
<ul class="resourcesSelect">
|
|
|
|
<!-- <ul class="resourcesSelect">
|
|
|
|
<li class="resourcesSelected"><a href="javascript:void(0);" class="resourcesIcon"></a>
|
|
|
|
<li class="resourcesSelected"><a href="javascript:void(0);" class="resourcesIcon"></a>
|
|
|
|
<ul class="resourcesType">
|
|
|
|
<ul class="resourcesType">
|
|
|
|
<li class="mt-4"><a href="javascript:void(0);" class="homepagePostTypeAll postTypeGrey">全部动态</a></li>
|
|
|
|
<li class="mt-4"><a href="javascript:void(0);" class="homepagePostTypeAll postTypeGrey">全部动态</a></li>
|
|
|
|
<li class="mt-4"><a href="/users/8523/user_activities?type=current_user" class="homepagePostTypeMine postTypeGrey">我的动态</a> </li>
|
|
|
|
<li class="mt-4"><a href="/users/8523/user_activities?type=current_user" class="homepagePostTypeMine postTypeGrey">我的动态</a> </li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% if !@organization.home_id.nil? and OrgDocumentComment.where("id = ?", @organization.home_id).count > 0 %>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
|
|
|
init_activity_KindEditor_data(<%= @organization.home_id%>, null, "87%");
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div id="organization_document_<%= @organization.home_id %>">
|
|
|
|
|
|
|
|
<%= render :partial => 'show_org_document', :locals => {:document => OrgDocumentComment.find(@organization.home_id), :home_id => @organization.home_id} %>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% unless @activities.nil? %>
|
|
|
|
<% unless @activities.nil? %>
|
|
|
|
<% @activities.each do |act| %>
|
|
|
|
<% @activities.each do |act| %>
|
|
|
|
<% if act.org_act_type == 'CreateOrganization' %>
|
|
|
|
<% if act.org_act_type == 'CreateOrganization' %>
|
|
|
@ -51,11 +55,12 @@
|
|
|
|
<% if act.org_act_type == 'OrgDocumentComment' %>
|
|
|
|
<% if act.org_act_type == 'OrgDocumentComment' %>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
$(function() {
|
|
|
|
$(function() {
|
|
|
|
console.log(111)
|
|
|
|
|
|
|
|
init_activity_KindEditor_data(<%= act.org_act.id%>, null, "87%");
|
|
|
|
init_activity_KindEditor_data(<%= act.org_act.id%>, null, "87%");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<%= render :partial => 'show_org_document', :locals => {:document => act.org_act} %>
|
|
|
|
<div id="organization_document_<%= act.org_act.id %>">
|
|
|
|
|
|
|
|
<%= render :partial => 'show_org_document', :locals => {:document => act.org_act} %>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<ul class="wlist" style=" border:none; padding-top: 15px;">
|
|
|
|
<ul class="wlist" style=" border:none; padding-top: 15px;">
|
|
|
|