修改匿评结束显示样式

This commit is contained in:
sw 2014-11-24 15:00:20 +08:00
parent 2042555813
commit adf75d2e8a
3 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@
<% when 1 %>
<%= link_to '关闭匿评', alert_anonymous_comment_bid_path(bid), id: "#{bid.id}_stop_anonymous_comment", remote: true %>
<% when 2 %>
匿评结束
<a href="#" style="background:#8e8e8e;">匿评结束</a>
<% end %>
</span>
<%end%>

View File

@ -1,2 +1,2 @@
alert('关闭成功');
$("#<%= @bid.id %>_anonymous_comment").html('匿评结束');
$("#<%= @bid.id %>_anonymous_comment").html('<a href="#" style="background:#8e8e8e;">匿评结束</a>');

View File

@ -126,7 +126,7 @@
<% when 1 %>
<%= link_to '关闭匿评', alert_anonymous_comment_bid_path(@bid), id: "#{@bid.id}_stop_anonymous_comment", remote: true %>
<% when 2 %>
匿评结束
<a href="#" style="background:#8e8e8e;">匿评结束</a>
<% end %>
</span>
<%end%>