```coffeescript
class window.UserPopoverContentView extends StatisticsPopoverContentView

  templateHelpers: ->
    heading: @model.get('name')

  onRender: ->
    @statisticsRegion.show new UserStatisticsView model: @model
    @ui.buttonRegion.addClass 'statistics-popover-content-button-hidden'

    @_showFollowButton()

  _showFollowButton: ->
    return if @model.is_current_user()

    @buttonRegion.show new FollowUserButtonView user: @model, mini: true
    @ui.buttonRegion.removeClass 'statistics-popover-content-button-hidden'

UserPopoverContentView.makeTooltip = (view, user, options={}) ->
  Backbone.Factlink.makeTooltipForView view,
      positioning: {align: 'left', side: 'bottom'}
      selector: options.selector || '.js-user-link'
      $offsetParent: options.$offsetParent
      tooltipViewFactory: -> new UserPopoverContentView model: user
```

Use cloned model for UserPopoverContentView to not run into trouble with urls for following/unfollowing
user
```coffeescript
class window.UserPopoverContentView extends StatisticsPopoverContentView

  templateHelpers: ->
    heading: @model.get('name')

  onRender: ->
    @statisticsRegion.show new UserStatisticsView model: @model
    @ui.buttonRegion.addClass 'statistics-popover-content-button-hidden'

    @_showFollowButton()

  _showFollowButton: ->
    return if @model.is_current_user()

    @buttonRegion.show new FollowUserButtonView user: @model, mini: true
    @ui.buttonRegion.removeClass 'statistics-popover-content-button-hidden'

UserPopoverContentView.makeTooltip = (view, user, options={}) ->
  Backbone.Factlink.makeTooltipForView view,
      positioning: {align: 'left', side: 'bottom'}
      selector: options.selector || '.js-user-link'
      $offsetParent: options.$offsetParent
      tooltipViewFactory: -> new UserPopoverContentView model: user.clone()
```
assistant