             <li key={periodId}>{period.name}: {moment(dates.due_at).format(DUE_FORMAT)}</li>}
         </ul>
       </div>
-
 
   renderPopOver: ->
     {title, description} = @props.plan


DUE_FORMAT = 'M/D/YYYY [at] h:mma'

LmsInfo = React.createClass

  propTypes:
    courseId: React.PropTypes.string.isRequired
    plan: React.PropTypes.shape(
      id: React.PropTypes.string.isRequired
      title: React.PropTypes.string.isRequired
      shareable_url: React.PropTypes.string
    ).isRequired

  mixins: [BindStoreMixin]
  bindStore: TeacherTaskPlanStore

  focusInput: (ev) ->
    ev.currentTarget.querySelector('input').select()

      >
        <a onClick={@togglePopover} className="get-link">Get assignment link</a>
      </BS.OverlayTrigger>
    </div>


LmsInfo = React.createClass

  propTypes:
    courseId: React.PropTypes.string.isRequired
    plan: React.PropTypes.shape(
      id: React.PropTypes.string.isRequired
      title: React.PropTypes.string.isRequired
      shareable_url: React.PropTypes.string
    ).isRequired

  mixins: [BindStoreMixin]
  bindStore: TeacherTaskPlanStore

  renderLink: ->
    <LmsInfoLink {...@props} />

  render: ->
  #  return null unless @props.plan.shareable_url
