|
|
|
@ -34,7 +34,11 @@
|
|
|
|
|
<div class="postRightContainer ml10" onmouseover="$('#message_setting_<%= @topic.id%>').show();" onmouseout="$('#message_setting_<%= @topic.id%>').hide();">
|
|
|
|
|
<div class="postThemeContainer">
|
|
|
|
|
<div class="postDetailPortrait">
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(@topic.author),:width=>50,:height => 50,:alt=>'图像' ),user_path(@topic.author) %>
|
|
|
|
|
<% if @topic.status == 1 %>
|
|
|
|
|
<%= image_tag("/images/trustie_logo1.png", width: "50px", height: "50px") %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(@topic.author), :width => 50, :height => 50,:alt=>'图像' ), user_path(@topic.author) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="postThemeWrap">
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
@ -72,11 +76,15 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
|
|
<div class="postDetailCreater">
|
|
|
|
|
<% if @topic.status == 1 %>
|
|
|
|
|
<span class="fontBlue2">确实团队</span>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% if @topic.try(:author).try(:realname) == ' ' %>
|
|
|
|
|
<%= link_to @topic.try(:author), user_path(@topic.author,:host=>Setting.host_user), :class => "linkBlue2", :target=> "_blank" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to @topic.try(:author).try(:realname), user_path(@topic.author,:host=>Setting.host_user), :class => "linkBlue2", :target=> "_blank" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="postDetailDate mb5"><%= format_time( @topic.created_on)%></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|