diff --git a/src/components/navigation/www/navigation.jsx b/src/components/navigation/www/navigation.jsx index 654b242a1..90d27a911 100644 --- a/src/components/navigation/www/navigation.jsx +++ b/src/components/navigation/www/navigation.jsx @@ -225,99 +225,101 @@ var Navigation = React.createClass({ - {this.props.session.user ? [ -
  • - + {this.props.session.loaded ? ( + this.props.session.user ? [ +
  • + - {this.state.unreadMessageCount} - - -
  • , -
  • - + {this.state.unreadMessageCount} + + +
  • , +
  • + - - -
  • , -
  • - - - {this.props.session.user.username} - - -
  • - - - -
  • -
  • - - - -
  • - {this.props.session.permissions.educator ? [ + + + , +
  • + + + {this.props.session.user.username} + +
  • - - + +
  • - ] : []} - {this.props.session.permissions.student ? [
  • - - + +
  • - ] : []} -
  • - - - -
  • -
  • - - - -
  • - - - ] : [ -
  • - - - -
  • , - , -
  • - - - - - - -
  • - ]} + {this.props.session.permissions.educator ? [ +
  • + + + +
  • + ] : []} + {this.props.session.permissions.student ? [ +
  • + + + +
  • + ] : []} +
  • + + + +
  • +
  • + + + +
  • + + + ] : [ +
  • + + + +
  • , + , +
  • + + + + + + +
  • + ]) : [ + ]} 4) { - + rows.push( 4) { - + rows.push( 0) { - + rows.push( 0) { - + rows.push( - + ); @@ -280,7 +280,7 @@ var Splash = injectIntl(React.createClass({ id: 'splash.projectsLovedByScratchersFollowing', defaultMessage: 'Projects Loved by Scratchers I\'m Following'})} key="custom_projects_loved_by_following"> - + ); @@ -288,14 +288,14 @@ var Splash = injectIntl(React.createClass({ if (this.state.featuredCustom.custom_projects_in_studios_following && this.state.featuredCustom.custom_projects_in_studios_following.length > 0) { - + rows.push( - + ); @@ -307,7 +307,7 @@ var Splash = injectIntl(React.createClass({ id: 'splash.communityRemixing', defaultMessage: 'What the Community is Remixing' })} key="community_most_remixed_projects"> - + , - + ); @@ -373,20 +373,22 @@ var Splash = injectIntl(React.createClass({ ] : []}
    - {this.props.session.user ? [ -
    - {this.shouldShowWelcome() ? [ - - ] : [ - - ]} - -
    - ] : [ - - ]} + {this.props.session.user ? ( + this.props.session.user ? [ +
    + {this.shouldShowWelcome() ? [ + + ] : [ + + ]} + +
    + ] : [ + + ]) : () + } {featured}