课程讨论区多层嵌套问题;课程留言字体统一大小
This commit is contained in:
parent
57f6f72c64
commit
87320bf77b
|
@ -40,8 +40,9 @@
|
||||||
<div class="talkmain_txt fl mt5 f14">
|
<div class="talkmain_txt fl mt5 f14">
|
||||||
<% author = topic.author.to_s %>
|
<% author = topic.author.to_s %>
|
||||||
<div style="max-width:120px;white-space:nowrap;overflow:hidden;float:left;text-overflow:ellipsis;">
|
<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,
|
<%= link_to User.current.member_of_course?(@board.course) ? "#{topic.author.show_name}(#{topic.author.login})" : "#{topic.author}" , user_path(topic.author),
|
||||||
:style=>'max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;' %>
|
:class =>"talkmain_name fl f14",:title=>author,
|
||||||
|
:style=>'max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;' %>
|
||||||
</div>
|
</div>
|
||||||
<p style="float:left;color:#ff5722;"> :</p>
|
<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%>">
|
<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' %>
|
<%= link_to image_tag(url_to_avatar(message.author), :width => '34',:height => '34'), user_path(message.author), :class => 'Msg_pic' %>
|
||||||
<div class="Msg_txt">
|
<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/>
|
<br/>
|
||||||
<div class="fl break_word f14">
|
<div class="fl break_word f14">
|
||||||
<%= textAreailizable message,:content,:attachments => message.attachments %>
|
<%= textAreailizable message,:content,:attachments => message.attachments %>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<%= image_tag url_to_avatar(nil),:width => '30',:height => '30' %>
|
<%= image_tag url_to_avatar(nil),:width => '30',:height => '30' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="recall_con">
|
<div class="recall_con f14">
|
||||||
<% id = 'project_respond_form_'+ reply.id.to_s %>
|
<% id = 'project_respond_form_'+ reply.id.to_s %>
|
||||||
<% if User.current.member_of_course?(@course) %>
|
<% 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) %>
|
<%= link_to User.current.member_of_course?(@course)? "#{reply.user.show_name}(#{reply.user.login})" : "#{reply.user.login}" , user_path(reply.user) %>
|
||||||
|
|
Loading…
Reference in New Issue