json.tasks @tasks do |task| json.user_login task.user_login json.group_name task.group_name json.last_changed task.obj.last_changed.to_iso json.id task.id json.obj_id task.obj.id json.comment task.comment json.obj do json.id task.obj.id json.obj_class task.obj.obj_class json.description_for_editor task.obj.description_for_editor json.modification task.obj.modification json.is_binary task.obj.binary? json.has_children task.obj.children.any? json.has_conflict task.obj.has_conflict? json.has_details_view @details_view[task.obj] json.parent_path task.obj.parent_path end end