     JView::viewAppended.call this
     
     {group:{slug}, roles} = @getData()
-    
+ 
     dashboardHref = "/#{slug}/Dashboard"
     
     if 'admin' in roles
-      @addSubView new KDCustomHTMLView
+      @addSubView new CustomLinkView
         title     : 'Admin dashboard'
         href      : dashboardHref
         click     : (event)->


    @switchLink = new CustomLinkView
      title       : title
      href        : "/#{slug}"
      target      : slug
      icon        :
        cssClass  : 'new-page'

    """
    <span class='avatar'>{{> @avatar}}</span>
    <div class='right-overflow'>
      {{> @switchLink}}
      <span class="roles">#{roles.join ', '}</span>
    </div>
    """

