|
|
|
@ -23,7 +23,7 @@ json.comment_scores @comment_scores do |score|
|
|
|
|
|
json.content score.comment
|
|
|
|
|
json.appeal_status score.appeal_status
|
|
|
|
|
json.is_invalid score.is_invalid
|
|
|
|
|
json.delete score.allow_delete(@current_user, @user_course_identity)
|
|
|
|
|
json.delete score.allow_delete(@current_user)
|
|
|
|
|
json.attachments score.attachments do |atta|
|
|
|
|
|
json.partial! "attachments/attachment_simple", locals: {attachment: atta, delete: false}
|
|
|
|
|
end
|
|
|
|
|