             quotas = @props.get_total_project_quotas(@props.project_id)
             switch error
                 when '"not_public"'
-                    e = @render_not_collaborator_error()
+                    e = @render_access_error()
                 when 'no_dir'
                     e = <ErrorDisplay title="No such directory" error={"The path #{@props.current_path} does not exist."} />
                 when 'not_a_dir'

                style   = {error_style}
                onClose = {=>@props.actions.setState(error:'')} />

    render_not_collaborator_error: ->
        public_view = @props.get_my_group(@props.project_id) == 'public'
        if public_view
            if @props.redux.getStore('account').is_logged_in()

            {@render_paging_buttons(Math.ceil(listing.length / file_listing_page_size)) if listing?}
            {@render_file_listing(visible_listing, file_map, error, project_state, public_view)}
            {@render_paging_buttons(Math.ceil(listing.length / file_listing_page_size)) if listing?}
            {@render_access_error() if public_view}
        </div>