2015-04-07 12:48:47 +08:00
|
|
|
<% issue_list(issues) do |issue, level| -%>
|
2015-12-16 11:50:30 +08:00
|
|
|
<script>
|
|
|
|
$(function () {
|
2016-01-29 16:55:07 +08:00
|
|
|
sd_create_editor_from_data(<%= issue.id%>, null, "100%", "<%= issue.class.name %>");
|
2015-12-16 11:50:30 +08:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<%= render :partial => 'users/project_issue', :locals => {:activity => issue, :user_activity_id => issue.id} %>
|
|
|
|
<% end %>
|
2015-12-16 15:55:40 +08:00
|
|
|
<% if issues.count == 10%>
|
2016-01-11 10:21:42 +08:00
|
|
|
<%= link_to "点击展开更多",project_issues_path({:project_id => project.id}.merge(params)),:id => "show_more_issues",:remote => "true",:class => "loadMore mt10 f_grey"%>
|
2015-12-16 15:55:40 +08:00
|
|
|
<% end%>
|