 
   pistachio: ->
 
-    {profile} = @getData()
-
     """
     {{> @avatar}}
-    <a class='profile' href='/#{profile.nickname}' title='Your profile'>#{profile.firstName}</a>
+    {{> @profileName}}
     {{> @accountIcon}}
     {{> @notificationsIcon}}
     """

AvatarView = require '../commonviews/avatarviews/avatarview'
JView = require '../jview'
PopupNotifications = require '../notifications/popupnotifications'


module.exports = class AvatarArea extends KDCustomHTMLView


    { mainView } = kd.singletons
    account      = @getData()
    {profile} = @getData()

    @avatar = new AvatarView
      tagName    : 'div'
