 BS = require 'react-bootstrap'
 _ = require 'lodash'
 
-{Redirect, Link} = require 'react-router'
+TutorLink = require '../link'
 
 Router = require '../../helpers/router'
 

      {controls}
    </div>

  CourseName: ({coursePath}) ->
    {course, courseSubject} = @props
    courseNameSegments = getCourseNameSegments(course, courseSubject)

    <Link to={coursePath}>
      {_.map(courseNameSegments, (courseNameSegment, index) ->
        <span
          key="course-name-segment-#{index}"

          {"#{courseNameSegment} "}
        </span>
      )}
    </TutorLink>

  render: ->
    {course, courseDataProps, controls, courseIsTeacher, className} = @props

    itemClasses = classnames('course-listing-item', className)

