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

27 lines
918 B
HTML
Raw Normal View History

2019-10-10 01:03:25 +00:00
<!--체크박스 보여줄때는 <div class="list-item checkbox" matRipple> 클래스에 checkbox만 추가-->
2019-10-10 06:37:18 +00:00
<div class="list-item" matRipple>
<!--pcOn , pcOut pcOff , pcOther-->
<span class="presence pcOn" *ngIf="presence">{{ presence.pcStatus }} </span>
<dl class="item-default">
<dt>
<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>
<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>