|
|
|
@ -40,8 +40,9 @@
|
|
|
|
|
<div class="talkmain_txt fl mt5 f14">
|
|
|
|
|
<% author = topic.author.to_s %>
|
|
|
|
|
<div style="max-width:120px;white-space:nowrap;overflow:hidden;float:left;text-overflow:ellipsis;">
|
|
|
|
|
<%= link_to User.current.member_of_course?(@board.course) ? "#{topic.author.show_name}(#{topic.author.login})" : "#{topic.author}" , user_path(topic.author), :class =>"talkmain_name fl f14",:title=>author,
|
|
|
|
|
:style=>'max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;' %>
|
|
|
|
|
<%= link_to User.current.member_of_course?(@board.course) ? "#{topic.author.show_name}(#{topic.author.login})" : "#{topic.author}" , user_path(topic.author),
|
|
|
|
|
:class =>"talkmain_name fl f14",:title=>author,
|
|
|
|
|
:style=>'max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;' %>
|
|
|
|
|
</div>
|
|
|
|
|
<p style="float:left;color:#ff5722;"> :</p>
|
|
|
|
|
|
|
|
|
@ -162,7 +163,7 @@
|
|
|
|
|
<li nhname="reply_rec" style="display:<%= replies_all_i>2?'none':'' %>" id="topic<%=message.id%>">
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(message.author), :width => '34',:height => '34'), user_path(message.author), :class => 'Msg_pic' %>
|
|
|
|
|
<div class="Msg_txt">
|
|
|
|
|
<%= link_to_user_header User.current.member_of_course?(@board.course) ? (message.author.show_name + "(" +topic.author.login + ")") : message.author, false,:class => 'fl c_orange f14 ' %>
|
|
|
|
|
<%= link_to User.current.member_of_course?(@board.course) ? "#{message.author.show_name}(#{message.author.login})" : "#{message.author}", user_path(message.author),:class => 'fl c_orange f14 ' %>
|
|
|
|
|
<br/>
|
|
|
|
|
<div class="fl break_word f14">
|
|
|
|
|
<%= textAreailizable message,:content,:attachments => message.attachments %>
|
|
|
|
|