班级/项目帖子锁定回复的,已有回复的二级回复按钮未屏蔽
This commit is contained in:
parent
6c093f68cf
commit
3f7935bf85
|
@ -24,6 +24,8 @@
|
||||||
<%=render :partial=> "praise_tread/praise", :locals => {:activity=>comment, :user_activity_id=>comment.id,:type=>"reply"}%>
|
<%=render :partial=> "praise_tread/praise", :locals => {:activity=>comment, :user_activity_id=>comment.id,:type=>"reply"}%>
|
||||||
</span>
|
</span>
|
||||||
<% if type == 'Message' %>
|
<% if type == 'Message' %>
|
||||||
|
<% topic = comment.root %>
|
||||||
|
<% if !topic.locked? && authorize_for('messages', 'reply') %>
|
||||||
<span style="position: relative" class="fr mr20">
|
<span style="position: relative" class="fr mr20">
|
||||||
<%= link_to(
|
<%= link_to(
|
||||||
l(:button_reply),
|
l(:button_reply),
|
||||||
|
@ -33,6 +35,7 @@
|
||||||
:title => l(:button_reply)) %>
|
:title => l(:button_reply)) %>
|
||||||
<span id="reply_iconup_<%=comment.id %>" class="reply_iconup02" style="display: none"> ︿</span>
|
<span id="reply_iconup_<%=comment.id %>" class="reply_iconup02" style="display: none"> ︿</span>
|
||||||
</span>
|
</span>
|
||||||
|
<% end %>
|
||||||
<% if comment.course_destroyable_by?(User.current) || comment.destroyable_by?(User.current) %>
|
<% if comment.course_destroyable_by?(User.current) || comment.destroyable_by?(User.current) %>
|
||||||
<%= link_to(
|
<%= link_to(
|
||||||
l(:button_delete),
|
l(:button_delete),
|
||||||
|
|
Loading…
Reference in New Issue