+
<%= link_to(
image_tag('comment.png'),
{:action => 'quote', :id => message},
@@ -58,15 +56,25 @@
:title => l(:button_delete)
) if message.destroyable_by?(User.current) %>
-
+
+
+ <%= link_to image_tag(url_to_avatar(message.author), :class => "avatar"), user_path(message.author) %> |
+
+ <%= link_to h(message.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %> |
+ <%= authoring message.created_on, message.author %> |
+
+
+
+
<% end %>
<% end %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index c3bbe0e7e..f52947f34 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -11,6 +11,20 @@ h4 {border-bottom: 1px dotted #bbb;}
/*new by huang*/
/**/
+/*new code reconstruction*/
+div.sidebar-content{
+ padding-left: 8px;
+ padding-right: 8px;
+}
+div.sidebar-content div.info-course{
+ font-family: 微软雅黑;
+
+ font-size: 16px;
+ color: #4d4d4d;
+ word-wrap: break-word;
+ word-break: break-all;
+}
+/*end*/
.welcome-index{
width: 290px;
white-space: nowrap;