diff --git a/app/views/users/system_messages.html.erb b/app/views/users/system_messages.html.erb index 495e05fc9..21bb1c3f7 100644 --- a/app/views/users/system_messages.html.erb +++ b/app/views/users/system_messages.html.erb @@ -31,30 +31,22 @@ -<% @sytem_messages.each do |sytem_message| %> +<% @sytem_messages.each do |system_message| %>
- <%= link_to image_tag(url_to_avatar(sytem_message.user), :width => "50", :height => "50"), user_path(sytem_message.user_id), :alt => "用户头像" %> + <%= image_tag("/images/logo.png", :width => "42", :height => "42",class: "mt3") %>
- Trustie平台 发布了 - 系统消息 + Trustie平台 发布了系统消息:
-
- 系统消息系统消息系统消息系统消息 -
-
-
- <%#= student_work_activity_submit_status(homework: activity) %> -
-
截止时间:<%= sytem_message.created_at %>
-
-
- <%= sytem_message.content.nil? ? sytem_message.description.html_safe : sytem_message.content.html_safe %> -
- +
+

+ <%= system_message.content.nil? ? system_message.description.html_safe : system_message.content.html_safe %> +

+
+

截止时间:<%= format_time(system_message.created_at) %>