Revize f4bbdb70
Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)
webapp/src/app/employees/user-profile/user-profile-dialog.component.html | ||
---|---|---|
1 |
<p> |
|
2 |
user-profile works! |
|
3 |
</p> |
|
1 |
<div mat-dialog-content style="height: 100%"> |
|
2 |
<div class="row"> |
|
3 |
<div class="col-md-9"> |
|
4 |
<app-day-picker #dayPicker |
|
5 |
(selectedMonth)="onSelectedMonthChange($event)" |
|
6 |
> |
|
7 |
</app-day-picker> |
|
8 |
</div> |
|
9 |
<div class="col-md-3" *ngIf="profile"> |
|
10 |
<div class="user-info"> |
|
11 |
<img class="user-photo" src="{{profile.photo}}" /> |
|
12 |
<span class="user-name">{{profile.firstName}} {{profile.lastName}}</span> |
|
13 |
</div> |
|
14 |
<app-vacation-info |
|
15 |
[sickDaysRemaining]="profile.sickdayCount" |
|
16 |
[extraVacationRemaining]="profile.vacationCount" |
|
17 |
></app-vacation-info> |
|
18 |
</div> |
|
19 |
</div> |
|
20 |
</div> |
|
21 |
|
|
22 |
<div mat-dialog-actions align="end"> |
|
23 |
<button mat-raised-button color="basic" (click)="onCloseClick()">Zavřít</button> |
|
24 |
</div> |
Také k dispozici: Unified diff
Re #7499 User profile component implemented + refactor