班级/项目帖子锁定回复的,已有回复的二级回复按钮未屏蔽

This commit is contained in:
cxt 2016-09-18 14:39:03 +08:00
parent 6c093f68cf
commit 3f7935bf85
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,8 @@
<%=render :partial=> "praise_tread/praise", :locals => {:activity=>comment, :user_activity_id=>comment.id,:type=>"reply"}%>
</span>
<% if type == 'Message' %>
<% topic = comment.root %>
<% if !topic.locked? && authorize_for('messages', 'reply') %>
<span style="position: relative" class="fr mr20">
<%= link_to(
l(:button_reply),
@ -33,6 +35,7 @@
:title => l(:button_reply)) %>
<span id="reply_iconup_<%=comment.id %>" class="reply_iconup02" style="display: none"> ︿</span>
</span>
<% end %>
<% if comment.course_destroyable_by?(User.current) || comment.destroyable_by?(User.current) %>
<%= link_to(
l(:button_delete),