diff --git a/app/views/users/_course_homework.html.erb b/app/views/users/_course_homework.html.erb index 2bbafb4df..f29512b0e 100644 --- a/app/views/users/_course_homework.html.erb +++ b/app/views/users/_course_homework.html.erb @@ -19,7 +19,7 @@
<%= link_to "提交("+activity.student_works.count.to_s+")", student_work_index_path(:homework => activity.id), :class=> "c_blue" %>
-
截止时间:<%= format_date(activity.end_time) %>
+
截止时间:<%= activity.end_time.to_s %>
作业描述:<%= activity.description.html_safe %> diff --git a/app/views/users/_course_message.html.erb b/app/views/users/_course_message.html.erb index f622ad20c..cbd7a916b 100644 --- a/app/views/users/_course_message.html.erb +++ b/app/views/users/_course_message.html.erb @@ -21,7 +21,7 @@ <% end %>
- 发帖时间:<%= format_date(activity.created_on) %> + 发帖时间:<%= format_time(activity.created_on) %>
@@ -61,7 +61,7 @@ <%if count > 2 %>
- 点击展开更多回复(<%= count.to_s%>) + 展开更多
<% end %> @@ -100,7 +100,7 @@ <% else %> <%= link_to reply.try(:author).try(:realname), user_path(reply.author_id), :class => "newsBlue mr10 f14" %> <% end %> - <%= format_date(reply.created_on) %> + <%= format_time(reply.created_on) %>
<%= reply.content.html_safe %> diff --git a/app/views/users/_course_news.html.erb b/app/views/users/_course_news.html.erb index 7edc19681..a558911c1 100644 --- a/app/views/users/_course_news.html.erb +++ b/app/views/users/_course_news.html.erb @@ -16,7 +16,7 @@ <%= link_to activity.title.to_s, news_path(activity), :class => "postGrey" %>
- 发布时间:<%= format_date(activity.created_on) %> + 发布时间:<%= format_time(activity.created_on) %>
通知描述: @@ -35,7 +35,7 @@ <%if count>2 %>
- 点击展开更多回复(<%= count.to_s%>) + 展开更多
<% end %> @@ -72,7 +72,7 @@ <% else %> <%= link_to comment.try(:author).try(:realname), user_path(comment.author_id), :class => "newsBlue mr10 f14" %> <% end %> - <%= format_date(comment.created_on) %> + <%= format_time(comment.created_on) %>
<%= comment.comments.html_safe %>
diff --git a/app/views/users/_course_poll.html.erb b/app/views/users/_course_poll.html.erb index 15e549ad8..436ae2f46 100644 --- a/app/views/users/_course_poll.html.erb +++ b/app/views/users/_course_poll.html.erb @@ -26,7 +26,7 @@ <% end %>
- 发布时间:<%= format_date(activity.published_at) %> + 发布时间:<%= format_time(activity.published_at) %>
问卷描述:<%=activity.polls_description.html_safe.to_s%>
时间: - <%=format_date(activity.created_on) %> + <%=format_time(activity.created_on) %>
缺陷描述: @@ -72,7 +72,7 @@ <% if count > 2 %>
- 点击展开更多回复(<%= count.to_s %>) + 展开更多
<% end %> @@ -109,7 +109,7 @@ <% else %> <%= link_to reply.try(:user).try(:realname), user_path(reply.user_id), :class => "newsBlue mr10 f14" %> <% end %> - <%= format_date(reply.created_on) %> + <%= format_time(reply.created_on) %>
<% if reply.details.any? %> <% details_to_strings(reply.details).each do |string| %> diff --git a/app/views/users/_project_message.html.erb b/app/views/users/_project_message.html.erb index ebf3d0ad2..6c3842f73 100644 --- a/app/views/users/_project_message.html.erb +++ b/app/views/users/_project_message.html.erb @@ -24,7 +24,7 @@ <% end %>
- 时间:<%= format_date(activity.created_on) %> + 时间:<%= format_time(activity.created_on) %>
帖子描述: <% if activity.parent_id.nil? %> @@ -49,7 +49,7 @@ )
<%#=format_date(activity.updated_on)%>
<%if count>2 %> -
点击展开更多回复(<%= count.to_s%>)
+
展开更多
<% end %> @@ -86,7 +86,7 @@ <% else %> <%= link_to reply.try(:author).try(:realname), user_path(reply.author_id), :class => "newsBlue mr10 f14" %> <% end %> - <%= format_date(reply.created_on) %> + <%= format_time(reply.created_on) %>
<%= reply.content.html_safe %>
diff --git a/public/assets/kindeditor/kindeditor.js b/public/assets/kindeditor/kindeditor.js index 98dfc470b..26cd088c4 100644 --- a/public/assets/kindeditor/kindeditor.js +++ b/public/assets/kindeditor/kindeditor.js @@ -3536,8 +3536,8 @@ function _getInitHtml(themesPath, bodyClass, cssPath, cssData) { (_direction === '' ? '' : ''), '', '