{{#if friendsToDisplay}}
  {{#each friendsToDisplay as |friend|}}
    {{#twitch-friends-list/twitch-friend-info user=friend onClick=onClick uiContext='friendList'}}{{/twitch-friends-list/twitch-friend-info}}
  {{/each}}

  {{#if showViewAllFriends}}
    <dd class="warp__item is-drawer-closed--hide">
      {{#link-to friendsRoute class="warp__button"}}<span>{{i18n "View All Friends"}}</span>{{/link-to}}
    </dd>
  {{/if}}
{{else if (and showViewAllFriends hasFriends)}}
  <dd class="warp__item is-drawer-closed--hide">
    <span><p>{{i18n "No friends are online."}} {{#link-to friendsRoute}}{{i18n "View all"}}{{/link-to}}</p></span>
  </dd>
{{/if}}
