27 lines
1.6 KiB
Plaintext
27 lines
1.6 KiB
Plaintext
<%= content_for(:header_tags) do %>
|
|
<%= import_ke(enable_at: false, prettify: false, init_activity: true) %>
|
|
<% end %>
|
|
|
|
<style type="text/css">
|
|
/*回复框*/
|
|
.homepagePostReplyInputContainer .ke-toolbar {display: none; width: 400px; border: none; background: none; padding: 0px 0px;}
|
|
.homepagePostReplyInputContainer .ke-toolbar-icon {line-height: 26px; font-size: 14px; padding-left: 26px;}
|
|
.homepagePostReplyInputContainer .ke-toolbar-icon-url {background-image: url(/images/public_icon.png)}
|
|
.homepagePostReplyInputContainer .ke-outline {padding: 0px 0px; line-height: 26px; font-size: 14px;}
|
|
.homepagePostReplyInputContainer .ke-icon-emoticons {background-position: 0px -671px; width: 50px; height: 26px;}
|
|
.homepagePostReplyInputContainer .ke-icon-emoticons:hover {background-position: -79px -671px; width: 50px; height: 26px;}
|
|
.homepagePostReplyInputContainer .ke-outline {border: none;}
|
|
.homepagePostReplyInputContainer .ke-inline-block {display: none;}
|
|
.homepagePostReplyInputContainer .ke-container {float: left;}
|
|
</style>
|
|
<%= render :partial => 'new' %>
|
|
<% unless @documents.nil? %>
|
|
<% @documents.each do |document| %>
|
|
<script>
|
|
$(function() {
|
|
init_activity_KindEditor_data(<%= OrgActivity.where("org_act_type='OrgDocumentComment'and org_act_id=?", document.id).first.id %>, null, "87%", "OrgActivity");
|
|
});
|
|
</script>
|
|
<%= render :partial => 'organizations/show_org_document', :locals => {:document => document, :act => OrgActivity.where("org_act_type='OrgDocumentComment'and org_act_id=?", document.id).first, :flag => 0} %>
|
|
<% end %>
|
|
<% end %> |