|
|
@ -76,7 +76,8 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% if (User.current.admin?||User.current.id==bid.author_id) %>
|
|
|
|
<% if (User.current.admin?||User.current.id==bid.author_id) %>
|
|
|
|
<span id="<%=bid.id %>_anonymous_comment" class="span_wping">
|
|
|
|
<% if bid.open_anonymous_evaluation == 1%>
|
|
|
|
|
|
|
|
<span id="<%=bid.id %>_anonymous_comment" class="span_wping">
|
|
|
|
<% case bid.comment_status %>
|
|
|
|
<% case bid.comment_status %>
|
|
|
|
<% when 0 %>
|
|
|
|
<% when 0 %>
|
|
|
|
<%= link_to '启动匿评', alert_anonymous_comment_bid_path(bid), id: "#{bid.id}_start_anonymous_comment", remote: true, disable_with: '加载中...' %>
|
|
|
|
<%= link_to '启动匿评', alert_anonymous_comment_bid_path(bid), id: "#{bid.id}_start_anonymous_comment", remote: true, disable_with: '加载中...' %>
|
|
|
@ -86,6 +87,7 @@
|
|
|
|
匿评结束
|
|
|
|
匿评结束
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<%end%>
|
|
|
|
<span class="span_wping">
|
|
|
|
<span class="span_wping">
|
|
|
|
<%= link_to(
|
|
|
|
<%= link_to(
|
|
|
|
l(:button_edit),
|
|
|
|
l(:button_edit),
|
|
|
|