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

45 lines
1.3 KiB
HTML
Raw Normal View History

2019-10-10 01:03:25 +00:00
<!--체크박스 보여줄때는 <div class="list-item checkbox" matRipple> 클래스에 checkbox만 추가-->
2019-11-15 08:32:48 +00:00
<div class="list-item" *ngIf="userInfo" matRipple>
2019-10-10 06:37:18 +00:00
<!--pcOn , pcOut pcOff , pcOther-->
<span class="presence" [ngClass]="getPresence(PresenceType.PC)"> </span>
2019-10-10 06:37:18 +00:00
<dl class="item-default">
<dt>
<img
class="thumbnail"
2019-11-05 04:45:30 +00:00
ucapImage
[base]="profileImageRoot"
[path]="userInfo.profileImageFile"
[default]="'assets/images/img_nophoto_50.png'"
2019-11-08 04:35:39 +00:00
(click)="onClickOpenProfile($event, userInfo)"
/>
2019-10-10 06:37:18 +00:00
</dt>
<dd class="info">
<div class="detail">
<span class="name">
<b>{{ userInfo | ucapTranslate: 'name' }}</b>
{{ userInfo | ucapTranslate: 'grade' }}
2019-10-10 06:37:18 +00:00
</span>
<span class="dept">
{{ userInfo | ucapTranslate: 'deptName' }}
2019-10-10 06:37:18 +00:00
</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"
[disabled]="checkDisabled"
2019-10-17 09:11:38 +00:00
(change)="onChangeCheck(checkbox.checked, userInfo)"
(click)="$event.stopPropagation()"
2019-10-17 09:11:38 +00:00
>
</mat-checkbox>
2019-10-02 08:12:51 +00:00
</div>