4141 < app-avatar
4242 class ="info__avatar "
4343 [url] ="user.avatar "
44+ [progress] ="user.progress "
4445 [size] ="(desktopMode$ | async) ? 165 : 140 "
4546 [hasBorder] ="true "
4647 [onlineBadgeSize] ="30 "
@@ -90,8 +91,8 @@ <h2 class="info__name">{{ user.firstName }} {{ user.lastName }}</h2>
9091 </ a >
9192 } @else {
9293 < div class ="profile__btns ">
93- < a class ="profile__cv ">
94- @if(isSubscriptionActive){
94+ <!-- < a class="profile__cv">
95+ @if(isSubscriptionActive() ){
9596 <app-button
9697 (click)="sendCVEmail()"
9798 customTypographyClass="text-body-12"
@@ -100,15 +101,25 @@ <h2 class="info__name">{{ user.firstName }} {{ user.lastName }}</h2>
100101 Скачать CV
101102 </app-button>
102103 }
103- </ a >
104+ </a> -->
104105
105106 < a
106107 class ="profile__edit "
107108 routerLink ="/office/profile/edit "
108109 [queryParams] ="{ editingStep: 'main' } "
109110 >
110111 < app-button customTypographyClass ="text-body-12 " color ="grey ">
111- Редактировать профиль
112+ {{
113+ user.progress! === 100 ? "Редактировать профиль" : "Закончить заполнение резюме"
114+ }}
115+ @if (user.progress !== 100) {
116+ < i
117+ appIcon
118+ icon ="color-error "
119+ appSquare ="16 "
120+ style ="color: var(--accent); margin-left: 5px "
121+ > </ i >
122+ }
112123 </ app-button >
113124 </ a >
114125 </ div >
@@ -148,6 +159,28 @@ <h2 class="info__name">{{ user.firstName }} {{ user.lastName }}</h2>
148159 </ div >
149160 </ app-modal >
150161
162+ < app-modal [open] ="isProfileFill " (openChange) ="isProfileFill = !isProfileFill ">
163+ < div class ="cancel ">
164+ < div class ="cancel__top ">
165+ < i (click) ="isProfileFill = false " appIcon icon ="cross " class ="cancel__cross "> </ i >
166+ < img
167+ alt ="profile unfill image "
168+ class ="cancel__image "
169+ src ="/assets/images/profile/profile-unfill.png "
170+ />
171+ < p class ="cancel__title text-heading-4 "> Профиль не завершён</ p >
172+ </ div >
173+ < p class ="text-body-14 cancel__text ">
174+ Заполни все поля, чтобы использовать< br />
175+ Procollab на максимум
176+ </ p >
177+
178+ < a routerLink ="/office/profile/edit " [queryParams] ="{ editingStep: 'main' } ">
179+ < app-button customTypographyClass ="text-body-12 "> Продолжить заполнение</ app-button >
180+ </ a >
181+ </ div >
182+ </ app-modal >
183+
151184 < div class ="outlet ">
152185 < router-outlet > </ router-outlet >
153186 </ div >
0 commit comments