|
|
|
@ -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),
|
|
|
|
|