diff --git a/app/views/users/user_messages.html.erb b/app/views/users/user_messages.html.erb
index a4cc521ff..089dca32f 100644
--- a/app/views/users/user_messages.html.erb
+++ b/app/views/users/user_messages.html.erb
@@ -76,6 +76,26 @@
<% end %>
<% end %>
+ <% if ucm.course_message_type == "StudentWorksScore" %>
+
+ <% end %>
+ <% if ucm.course_message_type == "JournalsForMessage" %>
+
+ <% end %>
<% end %>
<% end %>
@@ -113,6 +133,38 @@
<%= time_tag(ufm.forge_message.created_on).html_safe %>
<% end %>
+ <% if ufm.forge_message_type == "Message" %>
+
+ - <%= image_tag(url_to_avatar(ufm.forge_message.author), :width => "30", :height => "30") %>
+ - "><%= ufm.forge_message.author %>
+ <% if ufm.forge_message.parent_id.nil? %>
+ - ">发布帖子
+ -
+ <%=link_to ufm.forge_message.subject, project_boards_path(ufm.forge_message.project,:parent_id => ufm.forge_message.parent_id ? ufm.forge_message.parent_id : ufm.forge_message.id, :topic_id => ufm.forge_message.id),:class=>"#{ufm.viewed==0?"newsBlack":"newsGrey"}" %>
+ - <%= time_tag(ufm.forge_message.created_on).html_safe %>
+ <% else %>
+ - ">回复帖子
+ -
+ <%=link_to ufm.forge_message.subject, project_boards_path(ufm.forge_message.project,:parent_id => ufm.forge_message.parent_id ? ufm.forge_message.parent_id : ufm.forge_message.id, :topic_id => ufm.forge_message.id),:class=>"#{ufm.viewed==0?"newsBlack":"newsGrey"}" %>
+ - <%= time_tag(ufm.forge_message.created_on).html_safe %>
+ <% end %>
+
+ <% end %>
+ <% if ufm.forge_message_type == "News" %>
+
+ <% end %>
<% end %>
<% end %>
<% else %>
diff --git a/public/stylesheets/public_new.css b/public/stylesheets/public_new.css
index fb7e6fbf4..6837a5466 100644
--- a/public/stylesheets/public_new.css
+++ b/public/stylesheets/public_new.css
@@ -589,7 +589,7 @@ a.homepageMenuText {color:#484848; font-size:16px; margin-left:20px;}
.homepageNewsPortrait {width:40px; display:block; margin-top:7px;}
.homepageNewsPublisher {width:80px; max-width:80px; margin-right:10px; font-size:12px; color:#15bccf; display:block; padding-left:5px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis; }
.homepageNewsType {width:95px; font-size:12px; color:#888888; display:block;}
-.homepageNewsTypeNotRead {width:95px; font-size:12px; font-weight:bold; color:#4B4B4B; display:block;}
+.homepageNewsTypeNotRead {width:95px; font-size:13px; font-weight:bold; color:#4B4B4B; display:block;}
.homepageNewsContent {width:395px; max-width:395px; margin-right:10px; font-size:12px; color:#4b4b4b; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis; }
.homepageNewsTime {width:75px; font-size:12px; color:#888888; display:block; text-align:right;}
a.homepageWhite {color:#ffffff;}
@@ -598,7 +598,7 @@ a.newsGrey {color:#4b4b4b;}
a.newsGrey:hover {color:#000000;}
a.newsBlue {color:#15bccf;}
a.newsBlue:hover {color:#0781b4;}
-a.newsBlack {color:#4B4B4B; font-weight:bold;}
+a.newsBlack {color:#4B4B4B; font-weight:bold; font-size:13px;}
a.newsBlack:hover {color:#0781b4;}
a.resourcesGrey {font-size:12px; color:#888888;}
a.resourcesGrey:hover {font-size:12px; color:#15bccf;}