{{#table fixed='true' onScroll=onTableScroll onResize=onTableResize onSort=onTableSort}}
{{_ "Name"}}{{> icon icon=(sortIcon 'fname')}}
|
{{_ "Department"}}{{> icon icon=(sortIcon 'departmentId')}}
|
{{_ "Served_By"}}{{> icon icon=(sortIcon 'servedBy.username')}}
|
{{_ "Started_At"}}{{> icon icon=(sortIcon 'ts')}}
|
{{_ "Last_Message_At"}}{{> icon icon=(sortIcon 'lm')}}
|
{{_ "Status"}}{{> icon icon=(sortIcon 'open')}}
|
|
{{#each livechatRoom}}
|
{{department.name}} |
{{servedBy}} |
{{startedAt}} |
{{lastMessage}} |
{{status}} |
{{#requiresPermission 'remove-closed-livechat-rooms'}}
{{#if isClosed}}
|
{{else}}
|
{{/if}}
{{else}}
|
{{/requiresPermission}}
{{/each}}
{{#if isLoading}}
{{> loading}} |
{{/if}}
{{/table}}
{{#if hasMore}}