{{#if (not isSelf)}}
  <div class="card card--xs card--row sc__row" {{action openConversation user.login}}>
    <a class="card__layout sc__card-layout">
      <figure class="card__img card__img--avatar">
        <img class="avatar" src="{{user.avatar}}">
      </figure>

      <div class="card__body sc__row-body">
        <h3 class="card__title sc__row-title ellipsis">{{format-display-name user.login user.displayName}}</h3>
      </div>

      <div class="sc__actions">
        {{#if user.isFriend}}
          {{!-- show nothing --}}
        {{else if user.isRequested}}
          {{#tipsy-wrapper gravity="n"}}<a href="#" class="js-cancel-friend-request warp__action warp__action--primary tooltip" title={{i18n 'Cancel Request'}} {{action 'rejectFriend' user bubbles=false}}>{{partial 'svg/close'}}</a>{{/tipsy-wrapper}}
        {{else if didRequest}}
          {{#tipsy-wrapper gravity="n"}}<a href="#" class="warp__action warp__action--secondary disabled tooltip" title={{i18n "Friend Request Sent"}}>{{partial 'svg/check'}}</a>{{/tipsy-wrapper}}
        {{else if user.isRequestedBy}}
          {{#tipsy-wrapper gravity="n"}}<a href="#" class="js-accept-friend-request warp__action warp__action--primary tooltip" title={{i18n 'Accept Request'}} {{action 'acceptFriend' user bubbles=false}}>{{partial 'svg/check'}}</a>{{/tipsy-wrapper}}
          {{#tipsy-wrapper gravity="n"}}<a href="#" class="js-reject-friend-request warp__action warp__action--primary tooltip" title={{i18n 'Reject Friend Request'}} {{action 'rejectFriend' user bubbles=false}}>{{partial 'svg/close'}}</a>{{/tipsy-wrapper}}
        {{else if isError}}
          {{concat (i18n 'Something went wrong') '...'}}
        {{else}}
          {{#tipsy-wrapper gravity="n"}}<a href="#" class="js-add-friend warp__action warp__action--primary tooltip" title={{i18n 'Add as Friend'}} {{action 'addFriend' user bubbles=false}}>{{partial 'svg/add-friend'}}</a>{{/tipsy-wrapper}}
        {{/if}}
      </div>

    </a>
  </div>
{{/if}}
