<%= link_to author, user_path(topic.author), :class =>"talkmain_name fl f14",:title=>author,
- :style=>'max-width:60px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;' %>
+ :style=>'max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;' %>
diff --git a/app/views/courses/_history.html.erb b/app/views/courses/_history.html.erb
index 07e9c2b98..864509546 100644
--- a/app/views/courses/_history.html.erb
+++ b/app/views/courses/_history.html.erb
@@ -1,53 +1,56 @@
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
- <% if journals.size > 0 %>
- <% for journal in journals %>
-
-
- <%= link_to image_tag(url_to_avatar(journal.user),:width => '46',:height => '46'), user_path(journal.user) %>
-
-
-
-
+<% if journals.size > 0 %>
+ <% for journal in journals %>
+
+
+ <%= link_to image_tag(url_to_avatar(journal.user),:width => '46',:height => '46'), user_path(journal.user) %>
+
+
+
+
- <%= link_to User.current.member_of_course?(@course) ? "#{journal.user.show_name}(#{journal.user.login})" : "#{journal.user.login}", user_path(journal.user),:class => 'c_blue fb fl mb10 f14', :target => "_blank"%>
+ <%= link_to "#{journal.user.show_name}(#{journal.user.login})", user_path(journal.user),:class => 'c_blue fb fl mb10 f14', :target => "_blank"%>
<%= format_time(journal.created_on) %>
-
-
- <%= journal.notes.html_safe %>
-
-
-
-
-
- <% ids = 'project_respond_form_'+ journal.id.to_s%>
- <% if reply_allow %>
-
- <%= render :partial => 'words/new_respond_course', :locals => {:journal => journal, :m_reply_id => journal,:show_name => true} %>
-
- <% end %>
-
- <%= render :partial => "words/journal_reply", :locals => {:journal => journal, :show_name => true , :allow_delete => @course && User.current.allowed_to?(:as_teacher,@course)} %>
-
+
+
+ <%= journal.notes.html_safe %>
+
- <% end %>
+
+
+ <% ids = 'project_respond_form_'+ journal.id.to_s%>
+ <% if reply_allow %>
+
+ <%= render :partial => 'words/new_respond_course', :locals => {:journal => journal, :m_reply_id => journal,:show_name => true} %>
+
+ <% end %>
+
+
+ <%= render :partial => "words/journal_reply", :locals => {:journal => journal, :show_name => true, :allow_delete => @course && User.current.allowed_to?(:as_teacher,@course)} %>
+
+
+
+
<% end %>
+<% end %>
diff --git a/app/views/words/_journal_reply_items.html.erb b/app/views/words/_journal_reply_items.html.erb
index 7b5c354c2..a0998f539 100644
--- a/app/views/words/_journal_reply_items.html.erb
+++ b/app/views/words/_journal_reply_items.html.erb
@@ -13,20 +13,14 @@
<% id = 'project_respond_form_'+ reply.id.to_s %>
- <% if User.current.member_of_course?(@course) %>
- <%= link_to User.current.member_of_course?(@course)? "#{reply.user.show_name}(#{reply.user.login})" : "#{reply.user.login}" , user_path(reply.user) %>
- <%= l(:label_reply_to)%>
- <% if show_name %>
- <%= link_to "#{parent_jour.user.show_name}(#{parent_jour.user.login})", user_path(parent_jour.user) %>
- <% else %>
- <%#= 之所以改成这样是因为觉得没有真实姓名的用“匿名用户”替换不合理 %>
- <%= link_to "#{parent_jour.user}", user_path(parent_jour.user) %>
- <% end %>
+ <%= link_to "#{reply.user.show_name}(#{reply.user.login})", user_path(reply.user) %>
+ <%= l(:label_reply_to)%>
+ <% if show_name %>
+ <%= link_to "#{parent_jour.user.show_name}(#{parent_jour.user.login})", user_path(parent_jour.user) %>
<% else %>
- <%= link_to "#{reply.user}", user_path(reply.user) %>
- <%= l(:label_reply_to)%>
- <%= link_to "#{parent_jour.user}", user_path(parent_jour.user) %>
+ <%= l(:label_anonymous) %>
<% end %>
+
<%= reply.notes.html_safe %>
@@ -34,17 +28,17 @@
<%= format_time reply.created_on %>
-
<% if reply_allow %>
diff --git a/public/stylesheets/leftside.css b/public/stylesheets/leftside.css
index 9095cc6e3..50b47fff4 100644
--- a/public/stylesheets/leftside.css
+++ b/public/stylesheets/leftside.css
@@ -45,7 +45,7 @@ a:hover.subnav_green{ background:#14ad5a;}
/*简介*/
.project_intro{ width:220px; padding:10px; background:#fff; margin-top:10px; padding-top:5px; color:#6d6d6d; line-height:1.9;}
.course_description{max-height: 112px;overflow:hidden; word-break: break-all;word-wrap: break-word;}
-.project_board_content{overflow: hidden;max-height: 182px;word-break: break-all;word-wrap: break-word;}
+.project_board_content{overflow: hidden;max-height: 212px;word-break: break-all;word-wrap: break-word;}
.project_board_content1{overflow: hidden;max-height: 72px;word-break: break-all;word-wrap: break-word;}
.course_description_none{max-height: none;}
.lg-foot{ border:1px solid #e8eef2; color: #929598; text-align:center; width:220px; height:23px; cursor:pointer;display: none;}
diff --git a/public/stylesheets/pleft.css b/public/stylesheets/pleft.css
index acf470dfe..1f48c9166 100644
--- a/public/stylesheets/pleft.css
+++ b/public/stylesheets/pleft.css
@@ -49,7 +49,7 @@ a:hover.subnav_green{ background:#14ad5a;}
/*简介*/
.project_intro{ width:220px; padding:10px; background:#fff; margin-top:10px; padding-top:5px; color:#6d6d6d; line-height:1.9;}
.course_description{max-height: 112px;overflow:hidden; word-break: break-all;word-wrap: break-word;}
-.project_board_content{overflow: hidden;max-height: 182px;word-break: break-all;word-wrap: break-word;}
+.project_board_content{overflow: hidden;max-height: 212px;word-break: break-all;word-wrap: break-word;}
.project_board_content1{overflow: hidden;max-height: 72px;word-break: break-all;word-wrap: break-word;}
.course_description_none{max-height: none;}
.lg-foot{ border:1px solid #e8eef2; color: #929598; text-align:center; width:220px; height:23px; cursor:pointer;display: none;}