贴吧的描述修改的图标 和 删除标签的图片的显示隐藏问题

This commit is contained in:
lizanle 2015-09-21 10:31:15 +08:00
parent a958a879ad
commit a24ca05157
2 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,7 @@
<% forum.tag_list.each do |tag|%>
<span class="postlabel mr10">
<a href="javascript:void(0);" class="fontGrey2 mr5"><%= tag %></a>
<%if forum.creator.id == User.current.id%>
<a href="javascript:void(0);" class="fontGrey2" onclick="delete_forum_tag($(this));">×</a></span>
<% end %>
<% end %>

View File

@ -94,10 +94,13 @@
<div class="fontGrey3">回答:<a href="javascript:void(0);" class="linkOrange mr5"><%= @forum.topic_count%></a> 帖子:<a href="javascript:void(0);" class="linkOrange"><%= @forum.memo_count%></a></div>
</div>
<div class="cl"></div>
<div class="fontGrey2 mt10"><span id="forum_desc_span"><%= @forum.description%></span><a href="javascript:void(0);" onclick="edit_desc();">
<!--<img src="<%#= Rails.root%>/images/signature_edit.png" width="12" height="12" />-->
<%= image_tag('signature_edit.png',{:width=>12,:height=>12})%>
</a>
<div class="fontGrey2 mt10"><span id="forum_desc_span"><%= @forum.description%></span>
<%if @forum.creator.id == User.current.id%>
<a href="javascript:void(0);" onclick="edit_desc();">
<!--<img src="<%#= Rails.root%>/images/signature_edit.png" width="12" height="12" />-->
<%= image_tag('signature_edit.png',{:width=>12,:height=>12})%>
</a>
<%end%>
</div>
<div class="mt15">
<div id="forum_tag_list">