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

38 lines
1.0 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)"
*ngIf="userPresence && userPresence.pcStatus"
>{{ userPresence.pcStatus }}
2019-10-11 09:24:57 +00:00
</span>
2019-10-10 06:37:18 +00:00
<dl class="item-default">
<dt>
2019-10-15 02:07:26 +00:00
<img
class="thumbnail"
[src]="profileImageRoot + userInfo.profileImageFile"
onerror="this.src='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-15 02:07:26 +00:00
<div
class="msg-status"
*ngIf="!checkable && userInfo.intro.trim() && !compactable"
>
{{ userInfo.intro }}
2019-10-10 06:37:18 +00:00
</div>
</dd>
</dl>
2019-10-10 01:03:25 +00:00
<mat-checkbox *ngIf="checkable"></mat-checkbox>
2019-10-02 08:12:51 +00:00
</div>