     else
       _.delay( @windowClosedCheck, SECOND)
 
+  getActionText: ->
+    if @props.loginType is SIGNUP_TYPE
+      'create an OpenStax account'
+    else
+      'log in using your OpenStax account'
+
   render: ->
     classes = classnames('login-gateway', @props.className,
       'is-open': @state.loginWindow

        "left="  + (windowImpl.screen.width - width)   / 2].join()

      url = @urlForLogin()
      url += '&go=signup' if options.type is 'signup'
      CURRENT_WINDOW = windowImpl.open(url, 'oxlogin', windowOptions)




    <div className={classes}>
      <span className="message">
        Please {@getActionText()} in the window. <a data-bypass
          onClick={@openLogin} href={LoginGateway.urlForLogin()}
        >Click to reopen window.</a>
      </span>
