 PH   = require '../../helpers/period'
 Time = require '../time'
 BindStoreMixin      = require '../bind-store-mixin'
-
+CourseGroupingLabel = require '../course-grouping-label'
 
 ViewArchivedPeriods = React.createClass
 

        className='view-archived-periods-modal'>

        <BS.Modal.Header closeButton>
          <BS.Modal.Title>Archived Sections</BS.Modal.Title>
        </BS.Modal.Header>

        <BS.Modal.Body>
          <p>
            The table below shows previously archived sections of this course.
          </p>
          <p>
            You can "unarchive" a section to make it visible again.
          </p>
          <table>
            <thead>


    <li className='control view-archived-periods'>
      <BS.Button onClick={@open} bsStyle='link'>
        View Archived <CourseGroupingLabel courseId={@props.courseId} />
      </BS.Button>

      <BS.Modal
