next-ucap-messenger/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.html

48 lines
1.2 KiB
HTML
Raw Normal View History

2019-10-10 01:03:25 +00:00
<!--체크박스 보여줄때는 <div class="list-item checkbox" matRipple> 클래스에 checkbox만 추가-->
2019-10-15 07:39:58 +00:00
<div class="list-item" matRipple>
2019-10-10 06:37:18 +00:00
<!--pcOn , pcOut pcOff , pcOther-->
2019-10-15 02:07:26 +00:00
<span
class="presence"
[ngClass]="getPresence(PresenceType.PC)"
2019-10-18 03:49:23 +00:00
*ngIf="presence && presence.pcStatus"
>{{ presence.pcStatus }}
2019-10-11 09:24:57 +00:00
</span>
2019-10-10 06:37:18 +00:00
<dl class="item-default">
<dt>
<img
class="thumbnail"
ucapUiImage
[base]="profileImageRoot"
[path]="userInfo.profileImageFile"
[default]="'assets/images/img_nophoto_50.png'"
/>
2019-10-10 06:37:18 +00:00
</dt>
<dd class="info">
<div class="detail">
<span class="name">
<b>{{ userInfo.name }}</b>
{{ userInfo.grade }}
</span>
<span class="dept">
{{ userInfo.deptName }}
</span>
</div>
2019-10-21 04:20:14 +00:00
<!-- 상태메시지 제외
<div
2019-10-15 02:07:26 +00:00
class="msg-status"
*ngIf="!checkable && userInfo.intro.trim() && !compactable"
>
{{ userInfo.intro }}
2019-10-10 06:37:18 +00:00
</div>
--></dd>
2019-10-10 06:37:18 +00:00
</dl>
2019-10-17 09:11:38 +00:00
<mat-checkbox
*ngIf="checkable"
#checkbox
[checked]="isChecked"
(change)="onChangeCheck(checkbox.checked, userInfo)"
(click)="$event.stopPropagation()"
>
</mat-checkbox>
2019-10-02 08:12:51 +00:00
</div>