 
     body.style.background = '#000'
     @setClass 'logout-tv'
+
+getClassNames = (logo) -> classnames
+  'team-logo' : yes
+  'default' : logo is DEAFULT_TEAM_LOGO

    @toggleSidebar()


  getClassNames: (logo) -> classnames
    'team-logo' : yes
    'default' : logo is DEAFULT_TEAM_LOGO

  createTeamLogo: ->

    logo = '/a/images/logos/default_team_logo.svg'

    { groupsController } = kd.singletons
    team = groupsController?.getCurrentGroup()

    if team.customize
      logo = team.customize.logo

    className = @getClassNames logo

    @teamLogoWrapper.addSubView @teamLogo = new kd.CustomHTMLView
      tagName : 'img'

        src : "#{logo}"

    groupsController.on 'TEAM_DATA_TO_UPDATE', (dataToUpdate) =>
      return unless logo = dataToUpdate.customize?.logo
      @teamLogo.setAttribute 'src', logo
      @teamLogo.setAttribute 'class', ''
      @teamLogo.setClass getClassNames logo

  createAccountArea: ->

