2018-01-30 13:16:28 +01:00
< core-split-view >
< ion-content >
< ion-refresher [ enabled ] = " participantsLoaded " ( ionRefresh ) = " refreshParticipants ( $ event ) " >
< ion-refresher-content pullingText = "{{ 'core.pulltorefresh' | translate }}" > < / ion-refresher-content >
< / ion-refresher >
< core-loading [ hideUntil ] = " participantsLoaded " >
< core-empty-box * ngIf = "participants && participants.length == 0" icon = "person" [ message ] = " ' core . user . noparticipants ' | translate " >
< / core-empty-box >
2018-02-02 15:22:54 +01:00
< ion-list * ngIf = "participants && participants.length > 0" no-margin >
2018-01-30 13:16:28 +01:00
< a ion-item text-wrap * ngFor = "let participant of participants" [ title ] = " participant . fullname " ( click ) = " gotoParticipant ( participant . id ) " [ class . core-split-item-selected ] = " participant . id = = participantId " >
< ion-avatar item-start >
< img src = "{{participant.profileimageurl}}" [ alt ] = " ' core . pictureof ' | translate: { $ a: participant . fullname } " core-external-content >
< / ion-avatar >
< h2 > < core-format-text [ text ] = " participant . fullname " > < / core-format-text > < / h2 >
< p * ngIf = "participant.lastaccess" > < strong > {{ 'core.lastaccess' | translate }}: < / strong > {{ participant.lastaccess * 1000 | coreFormatDate:"dfmediumdate"}}< / p >
< / a >
< / ion-list >
< ion-infinite-scroll [ enabled ] = " canLoadMore " ( ionInfinite ) = " $ event . waitFor ( fetchData ( ) ) " >
< ion-infinite-scroll-content > < / ion-infinite-scroll-content >
< / ion-infinite-scroll >
< / core-loading >
< / ion-content >
< / core-split-view >