贴吧的用户链接可点击

This commit is contained in:
cxt 2015-09-29 15:37:52 +08:00
parent ce5579c14d
commit 03436bca2a
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@
<div class="cl"></div> <div class="cl"></div>
</div> </div>
<div class="postDetailCreater"><a href="javascript:void(0);" class="linkBlue2" target="_blank"><%= @memo.author.name%></a></div> <div class="postDetailCreater">
<%= link_to @memo.author.name, user_path(@memo.author), :class => "linkBlue2", :target=> "_blank"%></div>
<div class="postDetailDate mb5"><%= format_date( @memo.created_at)%></div> <div class="postDetailDate mb5"><%= format_date( @memo.created_at)%></div>
<div class="cl"></div> <div class="cl"></div>
<div class="memo-content" style="word-break: break-all; word-wrap:break-word;margin-bottom: 0px !important;" > <div class="memo-content" style="word-break: break-all; word-wrap:break-word;margin-bottom: 0px !important;" >