You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
419 B
9 lines
419 B
json.array! topics do |topic|
|
|
# task_private = course_identity > Course::STUDENT && !topic.is_public
|
|
json.private_icon !topic.is_public
|
|
json.(topic, :id, :name, :status)
|
|
json.author topic.teacher.full_name
|
|
json.user_topic_status topic.user_status(current_user)
|
|
json.selected_count topic.student_graduation_topics.count
|
|
json.confirmation_count topic.student_graduation_topics.confirmation_count
|
|
end |