This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
codecombat/app/views/courses/CoursesNotAssignedModal/CoursesNotAssignedModal.coffee
Scott Erickson f929cbdf75 Migrate modals and sass files
Note, this leaves a couple templates broken
2016-09-23 16:30:36 -07:00

9 lines
333 B
CoffeeScript

ModalView = require 'views/core/ModalView'
template = require './courses-not-assigned-modal'
module.exports = class CoursesNotAssignedModal extends ModalView
id: 'courses-not-assigned-modal'
template: template
initialize: (options) ->
_.assign(@, _.pick(options, 'selected', 'totalSpotsAvailable', 'unenrolledStudents'))