2015-11-12 09:32:00 +08:00
|
|
|
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg',"init_activity_KindEditor" %>
|
|
|
|
<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() {
|
2015-11-20 10:52:26 +08:00
|
|
|
init_activity_KindEditor_data(<%= OrgActivity.where("org_act_type='OrgDocumentComment'and org_act_id=?", document.id).first.id %>, null, "87%");
|
2015-11-12 09:32:00 +08:00
|
|
|
});
|
|
|
|
</script>
|
2015-11-19 10:08:11 +08:00
|
|
|
<%= render :partial => 'organizations/show_org_document', :locals => {:document => document, :act => OrgActivity.where("org_act_type='OrgDocumentComment'and org_act_id=?", document.id).first} %>
|
2015-11-12 09:32:00 +08:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|