<div class="card">
  <div class="card-header">
    Wybierz uztkownika do czatowania
    <button aria-label="Close" class="close" type="button" (click)="close()">
      <clr-icon aria-hidden="true" shape="close"></clr-icon>
    </button>
  </div>
  <div class="card-block">
    <div class="card-text">
      <clr-tree-node *ngFor="let user of users" (click)="talkTo = user"><span [class.active]="talkTo == user" class="clr-treenode-link">{{user}}</span></clr-tree-node>
    </div>
  </div>
  <div class="card-footer">
    <a class="btn btn-sm btn-link btn-primary" *ngIf="talkTo" [routerLink]="[talkTo]">Rozpocznij czat z {{talkTo}}</a>
  </div>
</div>
