 
     render_first_steps: ->
         name = 'first_steps'
+        return if @props.public_view
         return if not @props.library[name]
         return if not (@props.other_settings?.get(name) ? false)
-        return if @props.public_view
         return if @props.current_path isnt '' # only show in $HOME
         return if @props.file_map[name]?.isdir  # don't show if we have it ...
         return if @props.file_search[0] is TERM_MODE_CHAR

#
###############################################################################

{React, ReactDOM, rtypes, rclass, redux, Redux} = require('./app-framework')
{Col, Row, ButtonToolbar, ButtonGroup, MenuItem, Button, Well, FormControl, FormGroup, Radio,
ButtonToolbar, Popover, OverlayTrigger, SplitButton, MenuItem, Alert, Checkbox, Breadcrumb, Navbar} =  require('react-bootstrap')
misc = require('smc-util/misc')
{ActivityDisplay, DirectoryInput, Icon, ProjectState, COLORS,
SearchInput, TimeAgo, ErrorDisplay, Space, Tip, Loading, LoginLink, Footer, CourseProjectExtraHelp, CopyToClipBoard} = require('./r_misc')
{SMC_Dropwrapper} = require('./smc-dropzone')
{FileTypeSelector, NewFileButton} = require('./project_new')
{SiteName} = require('./customize')

        @props.redux.getTable('account').set(other_settings:{first_steps:false})

    render: ->
        style =
            textAlign  : 'center'
            padding    : '10px'
            color      : COLORS.GRAY_L
            position   : 'absolute'
            bottom     : 0
            fontSize   : '110%'

        a =
            cursor     : 'pointer'
            color      : COLORS.GRAY

        line2 =
            fontSize   : '80%'

        <Col sm={12} style={style}>
            <Row>
                <span>
                    Are you new to <SiteName/>?
                </span>
                <Space/>
                <span>
                    <a onClick = {@get_first_steps} style={a}>
                        Click to start the <strong>First Steps</strong> guide!
                    </a>
                </span>
                <Space/>
                <span>or</span>
                <Space/>
                <span>
                    <a onClick={@dismiss_first_steps} style={a}>dismiss this message</a>.
                </span>
                <br/>
                <span style={line2}>
                    You can also load it via "+ Add" → "Library" → "First Steps in <SiteName />"
                </span>
            </Row>
        </Col>

NoFiles = rclass
    propTypes :
