context = window

logger = context.JK.logger

@SessionTrackSettingsBtn = React.createClass({

  mixins: [Reflux.listenTo(@AppStore,"onAppInit")]

  onConfigureSettings: (e) ->
    e.preventDefault();

    @app.layout.showDialog('configure-tracks')

  onAppInit: (app) ->
    @app = app

  render: () ->
    `<a className="session-track-settings" onClick={this.onConfigureSettings}>
      <img src="/assets/content/icon_settings_lg.png" width="18" height="18" />
      <span>Audio Settings</span>
    </a>`
})