Фотография профиля
+Фотография профиля
Привет, {{ profile.firstName }} {{ profile.lastNam [error]="avatar | controlError" > @if (avatar | controlError: "required") { -Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
(click)="addEducation()"
>
{{ editEducationClick ? "Созранить изменения" : "Добавить образование" }}
-
+
@if(educationItems().length || education.length){ @for (educationItem of education.value;
track $index) {
-
+
{{ educationItem.organizationName }}
@if(educationItem.entryYear && educationItem.completionYear) {
@@ -249,7 +257,7 @@
Привет, {{ profile.firstName }} {{ profile.lastNam
class="edit"
appIcon
icon="edit-pen"
- appSquare="24"
+ appSquare="16"
(click)="editEducation($index)"
>
@@ -284,6 +292,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
>
@if (organizationNameWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -318,6 +327,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
@if (entryYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -336,6 +346,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
@if (completionYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -357,6 +368,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
formControlName="jobPosition"
>
@if (jobPosition | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -373,6 +385,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
>
@if (descriptionWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -404,6 +417,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
(click)="addWork()"
>
{{ editWorkClick ? "Сохранить изменения" : "Добавить место работы" }}
-
+
@if(workItems().length || workExperience.length){ @for (workItem of workExperience.value;
@@ -468,12 +482,13 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
>
@if (title | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -492,12 +507,13 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
@if (achievements.at(i).get("status"); as status) {
@if (status | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -508,9 +524,14 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
}
-
+
Добавить достижение
-
+
@@ -538,6 +559,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
@if (language | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -555,6 +577,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
} @if (stageForm.get("languageLevel"); as languageLevel) {
Привет, {{ profile.firstName }} {{ profile.lastNam
@if (languageLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -578,6 +601,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
(click)="addLanguage()"
>
{{ editLanguageClick ? "Сохранить изменения" : "Добавить язык" }}
-
+
@@ -615,7 +639,12 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
- Закончить регистрацию позже
Привет, {{ profile.firstName }} {{ profile.lastNam
: 'pointer'
}"
type="submit"
+ customTypographyClass="text-body-12"
[loader]="stageSubmitting()"
>Продолжить
@@ -656,9 +686,9 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
- Произошла ошибка при отправке данных!
+ Произошла ошибка при отправке данных!
- {{ isModalErrorYearText() }}.
+ {{ isModalErrorYearText() }}.
diff --git a/projects/social_platform/src/app/office/profile/edit/edit.component.html b/projects/social_platform/src/app/office/profile/edit/edit.component.html
index e68059ec8..b2c2742af 100644
--- a/projects/social_platform/src/app/office/profile/edit/edit.component.html
+++ b/projects/social_platform/src/app/office/profile/edit/edit.component.html
@@ -48,7 +48,7 @@
[error]="avatar | controlError"
>
@if (avatar | controlError: "required") {
-
+
{{ errorMessage.EMPTY_AVATAR }}
}
@@ -88,7 +88,7 @@
placeholder="У меня много денег, я мамкин инвестор"
>
@if (usefulToProject | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -100,6 +100,7 @@
@if (firstName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -116,6 +117,7 @@
@if (lastName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -136,6 +138,7 @@
@if (birthday | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -152,6 +155,7 @@
@if (phoneNumber | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -167,7 +171,7 @@
}
-
+
Формат телефона должен соответствовать одному из таких форматов: +7 XXX XXX-XX-XX |
+375XXXXXXXXX | +995 (XXX) XX-XX-XX
@@ -190,11 +194,11 @@
formControlName="speciality"
>
-
+
@if (speciality | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -208,6 +212,7 @@
@if (city | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -225,13 +230,14 @@
@if (roles | async; as options) {
} @if (userType | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -240,6 +246,7 @@
@if (aboutMe | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -262,6 +269,7 @@
@if (entryYear | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -280,6 +288,7 @@
@if (completionYear | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -300,12 +309,13 @@
@if (organizationName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -314,12 +324,13 @@
@if (description | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -328,6 +339,7 @@
@if (educationLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -345,6 +357,7 @@
@if (educationStatus | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -368,7 +381,7 @@
Студент Московского Политеха
@if (isMospolytechStudent | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -381,12 +394,13 @@
Для студентов Московского Политеха
@if (studyGroup | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -396,6 +410,7 @@
Добавить образование
-
+
@if(educationItems().length || education.length){ @for (educationItem of education.value;
@@ -429,7 +444,7 @@
class="edit"
appIcon
icon="edit-pen"
- appSquare="20"
+ appSquare="16"
(click)="editEducation($index)"
>
@@ -446,6 +461,7 @@
@if (entryYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -464,6 +480,7 @@
@if (completionYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -485,6 +502,7 @@
@if (organization | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -501,6 +519,7 @@
@if (jobPosition | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -517,6 +536,7 @@
@if (descriptionWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -534,6 +554,7 @@
Добавить место работы
-
+
@if(workItems().length || workExperience.length){ @for (workItem of workExperience.value;
@@ -561,7 +582,7 @@
{{ workItem.description }}
{{ workItem.jobPosition }}
-
+
@@ -582,12 +603,13 @@
@if (title | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -605,12 +627,13 @@
@if (achievements.at(i).get("status"); as status) {
@if (status | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -623,9 +646,14 @@
-
+
Добавить достижение
-
+
} @if (editingStep === 'skills') {
@@ -646,7 +674,7 @@
(optionSelected)="onAddSkill($event)"
>
-
+
@@ -673,6 +701,7 @@
@if (language | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -691,6 +720,7 @@
@if (languageLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -713,6 +743,7 @@
Добавить язык
-
+
@@ -741,7 +772,7 @@
class="edit"
appIcon
icon="edit-pen"
- appSquare="20"
+ appSquare="16"
(click)="editLanguage($index)"
>
@@ -766,7 +797,7 @@
formControlName="additionalRole"
>
@if (additionalRole | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -899,7 +930,9 @@ Библиотека специальностей
- Сохранить
+ Сохранить
@@ -922,6 +955,8 @@ Библиотека навыков
- Сохранить
+ Сохранить
diff --git a/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html b/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
index 8a9de925c..5d9ab1438 100644
--- a/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
+++ b/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
@@ -43,6 +43,7 @@ {{ field.label }}
{{ field.label }}
{{ f.value.name }}
@if (registerForm.get(f.key); as field) {
О проекте
@if (form | controlError: "required"; as error) {
-
+
{{ error }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
index f9cbe5b4c..788bf8b13 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
@@ -10,6 +10,7 @@
} @if (achievements.at(i).get("achievementsDate"); as achievementsDate) {
-
+
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
index 7f1f07518..063cb7d77 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
@@ -16,6 +16,7 @@
>{{ field.label }}
@if (additionalForm.get(field.name); as control) {
{{ field.label }}
} } @if (additionalForm.get(field.name); as control) { @if (control | controlError:
"required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
} }
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
index 82c53731b..339e01623 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
@@ -100,19 +100,19 @@
::ng-deep {
app-input {
input {
- @include typography.body-14;
+ @include typography.body-12;
}
}
app-textarea {
textarea {
- @include typography.body-14;
+ @include typography.body-12;
}
}
app-select {
.field__input {
- @include typography.body-14;
+ @include typography.body-12;
}
}
}
@@ -154,3 +154,7 @@
display: block;
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
index 90eaeb1fa..ff96c8112 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
@@ -10,7 +10,7 @@
placeholder="https://example.com"
>
@if (link | controlError: "pattern") {
-
+
{{ errorMessage.VALIDATION_PATTERN }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
index fc941cb3b..96d7e17b7 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
@@ -44,3 +44,7 @@
display: block;
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
index ff75a0a52..d48f13589 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
@@ -68,6 +68,7 @@
} @if (trl; as trl) {
- @if ((name | controlError: "required") && projSubmitInitiated) {
+ @if ((name | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -106,10 +107,10 @@
size="big"
id="region"
formControlName="region"
- [error]="(region | controlError) && projSubmitInitiated"
+ [error]="(region | controlError) || projSubmitInitiated"
placeholder="Введите регион"
>
- @if ((region | controlError: "required") && projSubmitInitiated) {
+ @if ((region | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -165,10 +166,10 @@
size="big"
id="problem"
formControlName="problem"
- [error]="(problem | controlError) && projSubmitInitiated"
+ [error]="(problem | controlError) || projSubmitInitiated"
placeholder="Улучшить качество жизни студентов"
>
- @if ((problem | controlError: "required") && projSubmitInitiated) {
+ @if ((problem | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -180,11 +181,11 @@
- @if ((description | controlError: "required") && projSubmitInitiated) {
+ @if ((description | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -215,10 +216,11 @@
- @if ((targetAudience | controlError: "required")) {
+ @if ((targetAudience | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
index 7dd3c3194..9ffc03b73 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
@@ -95,3 +95,7 @@
}
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
index 58cd5f281..08bc50e6c 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
@@ -17,12 +17,13 @@
@if (showFields) {
-
+
@if (link; as link) {
} @if (inviteNotExistingError() && inviteSubmitInitiated()) {
- {{ errorMessage.USER_NOT_EXISTING }}
+ {{ errorMessage.USER_NOT_EXISTING }} либо
+ {{ errorMessage.USER_IS_LEADER }} либо
+ {{ errorMessage.USER_IS_MEMBER }} либо
}
@@ -46,6 +49,7 @@
@if ((specialization | controlError: "required") && inviteSubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -91,7 +95,7 @@
}
-
+
8 ? 'auto' : 'none'"
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
index e3466f8d7..78bb6af19 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
@@ -107,7 +107,7 @@
margin-bottom: 12px;
app-button {
- flex-basis: 70%;
+ flex-basis: 60%;
}
}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
index 0c8e787f4..4da9c7c92 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
@@ -8,13 +8,14 @@
@if ((role | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -22,14 +23,15 @@
} @if (description; as description) {
-
+ >
@if ((description | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -42,14 +44,16 @@
@if (requiredExperience | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -58,14 +62,16 @@
@if (workFormat | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -78,13 +84,14 @@
@if ((salary | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -93,14 +100,16 @@
@if (workSchedule | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -115,17 +124,16 @@
-
-
-
+ >
+
@@ -136,7 +144,7 @@
[error]="skills | controlError"
>
@if (skills | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -154,7 +162,7 @@
[options]="rolesMembersList"
>
@if ((specialization | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
index 488454f1b..e081fd4eb 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
@@ -91,16 +91,10 @@
&__submit {
display: block;
}
+}
- &__description {
- ::ng-deep {
- app-input {
- .field__input {
- padding: 40px 20px;
- }
- }
- }
- }
+.error {
+ color: var(--red) !important;
}
.vacancies {
@@ -110,14 +104,4 @@
flex-grow: 1;
margin-right: 6px;
}
-
- ::ng-deep {
- app-autocomplete-input {
- .field__input {
- padding: 12px 20px;
-
- @include typography.body-16;
- }
- }
- }
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
index 037b00cce..a22d41d4f 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
@@ -13,6 +13,7 @@ import { Skill } from "@office/models/skill";
import { ProjectVacancyService } from "../../services/project-vacancy.service";
import { ActivatedRoute } from "@angular/router";
import { IconComponent } from "@uilib";
+import { TextareaComponent } from "@ui/components/textarea/textarea.component";
@Component({
selector: "app-project-vacancy-step",
@@ -30,6 +31,7 @@ import { IconComponent } from "@uilib";
AutoCompleteInputComponent,
SkillsBasketComponent,
VacancyCardComponent,
+ TextareaComponent,
],
})
export class ProjectVacancyStepComponent implements OnInit {
diff --git a/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html b/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
index 9620af87e..25302bec4 100644
--- a/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
+++ b/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
@@ -60,13 +60,14 @@ Редактирование участника
@if ((role | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -74,13 +75,14 @@ Редактирование участника
@if ((specialization | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
index c71d5e263..c8f799555 100644
--- a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
+++ b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
@@ -35,7 +35,7 @@
@if (!editMode) {
} @else { @if (editForm.get("text"); as text) {
-
+
} }
} @if (editMode) {
diff --git a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
index e1f3e2acd..fcd54ed39 100644
--- a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
+++ b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
@@ -24,6 +24,7 @@
@for (criterion of criteria; track $index) { @if (criterion.type === "str") {
- @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills; track $index) {
+ @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills.slice(0, 5); track
+ $index) {
{{ vacancy.role }}
{{ vacancy.specialization ? vacancy.specialization : "" }}
- } } }
+ } } @if (vacancy.requiredSkills.length > 5) {
+
+ + {{ vacancy.requiredSkills.length - 5 }}
+
+ } }
diff --git a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
index a5cab82ee..84eff1bed 100644
--- a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
+++ b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
@@ -13,6 +13,10 @@
background-color: var(--accent);
border: none;
}
+
+ &--more {
+ color: var(--accent);
+ }
}
&__info {
@@ -30,6 +34,7 @@
display: flex;
flex-flow: row wrap;
gap: 10px;
+ align-items: center;
}
&__icons {
diff --git a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
index 98d605901..c8a704aa5 100644
--- a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
+++ b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
@@ -84,6 +84,7 @@ Фильтр
Заработная плата
Фильтр
@if (whyMe | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
} @if (whyMe | controlError: "maxlength") {
-
+
{{ errorMessage.VALIDATION_TOO_LONG }}
@if (whyMe.errors) {
{{ whyMe.errors["maxlength"]["requiredLength"] }}
}
} @if (whyMe | controlError: "minlength") {
-
+
{{ errorMessage.VALIDATION_TOO_SHORT }}
@if (whyMe.errors) {
{{ whyMe.errors["minlength"]["requiredLength"] }}
diff --git a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
index 2e51db552..48f551672 100644
--- a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
+++ b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
@@ -16,7 +16,7 @@
/>
@if (fieldToDisplayMode === "chip" && value()) {
- {{ $any(value())[fieldToDisplay] || value() }}
+ {{ $any(value())[fieldToDisplay] || value() }}
}
@@ -30,16 +30,16 @@
size="24px"
>
} @if (searchIcon && slimVersion) {
-
+
} @if (searchIcon && !slimVersion) {
-
+
}
@if (isOpen()) {
@if (noResults()) {
- -
+
-
{{ "Ничего не найдено :(" }}
@@ -47,7 +47,7 @@
+
{{ educationItem.organizationName }} @if(educationItem.entryYear && educationItem.completionYear) { @@ -249,7 +257,7 @@
Привет, {{ profile.firstName }} {{ profile.lastNam class="edit" appIcon icon="edit-pen" - appSquare="24" + appSquare="16" (click)="editEducation($index)" >
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
(click)="addWork()"
>
{{ editWorkClick ? "Сохранить изменения" : "Добавить место работы" }}
-
+
@if(workItems().length || workExperience.length){ @for (workItem of workExperience.value;
@@ -468,12 +482,13 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
>
@if (title | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -492,12 +507,13 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
@if (achievements.at(i).get("status"); as status) {
@if (status | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -508,9 +524,14 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
}
-
+
Добавить достижение
-
+
@@ -538,6 +559,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
@if (language | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -555,6 +577,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
} @if (stageForm.get("languageLevel"); as languageLevel) {
Привет, {{ profile.firstName }} {{ profile.lastNam
@if (languageLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -578,6 +601,7 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
(click)="addLanguage()"
>
{{ editLanguageClick ? "Сохранить изменения" : "Добавить язык" }}
-
+
@@ -615,7 +639,12 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
- Закончить регистрацию позже
Привет, {{ profile.firstName }} {{ profile.lastNam
: 'pointer'
}"
type="submit"
+ customTypographyClass="text-body-12"
[loader]="stageSubmitting()"
>Продолжить
@@ -656,9 +686,9 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
- Произошла ошибка при отправке данных!
+ Произошла ошибка при отправке данных!
- {{ isModalErrorYearText() }}.
+ {{ isModalErrorYearText() }}.
diff --git a/projects/social_platform/src/app/office/profile/edit/edit.component.html b/projects/social_platform/src/app/office/profile/edit/edit.component.html
index e68059ec8..b2c2742af 100644
--- a/projects/social_platform/src/app/office/profile/edit/edit.component.html
+++ b/projects/social_platform/src/app/office/profile/edit/edit.component.html
@@ -48,7 +48,7 @@
[error]="avatar | controlError"
>
@if (avatar | controlError: "required") {
-
+
{{ errorMessage.EMPTY_AVATAR }}
}
@@ -88,7 +88,7 @@
placeholder="У меня много денег, я мамкин инвестор"
>
@if (usefulToProject | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -100,6 +100,7 @@
@if (firstName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -116,6 +117,7 @@
@if (lastName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -136,6 +138,7 @@
@if (birthday | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -152,6 +155,7 @@
@if (phoneNumber | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -167,7 +171,7 @@
}
-
+
Формат телефона должен соответствовать одному из таких форматов: +7 XXX XXX-XX-XX |
+375XXXXXXXXX | +995 (XXX) XX-XX-XX
@@ -190,11 +194,11 @@
formControlName="speciality"
>
-
+
@if (speciality | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -208,6 +212,7 @@
@if (city | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -225,13 +230,14 @@
@if (roles | async; as options) {
} @if (userType | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -240,6 +246,7 @@
@if (aboutMe | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -262,6 +269,7 @@
@if (entryYear | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -280,6 +288,7 @@
@if (completionYear | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -300,12 +309,13 @@
@if (organizationName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -314,12 +324,13 @@
@if (description | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -328,6 +339,7 @@
@if (educationLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -345,6 +357,7 @@
@if (educationStatus | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -368,7 +381,7 @@
Студент Московского Политеха
@if (isMospolytechStudent | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -381,12 +394,13 @@
Для студентов Московского Политеха
@if (studyGroup | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -396,6 +410,7 @@
Добавить образование
-
+
@if(educationItems().length || education.length){ @for (educationItem of education.value;
@@ -429,7 +444,7 @@
class="edit"
appIcon
icon="edit-pen"
- appSquare="20"
+ appSquare="16"
(click)="editEducation($index)"
>
@@ -446,6 +461,7 @@
@if (entryYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -464,6 +480,7 @@
@if (completionYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -485,6 +502,7 @@
@if (organization | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -501,6 +519,7 @@
@if (jobPosition | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -517,6 +536,7 @@
@if (descriptionWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -534,6 +554,7 @@
Добавить место работы
-
+
@if(workItems().length || workExperience.length){ @for (workItem of workExperience.value;
@@ -561,7 +582,7 @@
{{ workItem.description }}
{{ workItem.jobPosition }}
-
+
@@ -582,12 +603,13 @@
@if (title | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -605,12 +627,13 @@
@if (achievements.at(i).get("status"); as status) {
@if (status | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -623,9 +646,14 @@
-
+
Добавить достижение
-
+
} @if (editingStep === 'skills') {
@@ -646,7 +674,7 @@
(optionSelected)="onAddSkill($event)"
>
-
+
@@ -673,6 +701,7 @@
@if (language | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -691,6 +720,7 @@
@if (languageLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -713,6 +743,7 @@
Добавить язык
-
+
@@ -741,7 +772,7 @@
class="edit"
appIcon
icon="edit-pen"
- appSquare="20"
+ appSquare="16"
(click)="editLanguage($index)"
>
@@ -766,7 +797,7 @@
formControlName="additionalRole"
>
@if (additionalRole | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -899,7 +930,9 @@ Библиотека специальностей
- Сохранить
+ Сохранить
@@ -922,6 +955,8 @@ Библиотека навыков
- Сохранить
+ Сохранить
diff --git a/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html b/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
index 8a9de925c..5d9ab1438 100644
--- a/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
+++ b/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
@@ -43,6 +43,7 @@ {{ field.label }}
{{ field.label }}
{{ f.value.name }}
@if (registerForm.get(f.key); as field) {
О проекте
@if (form | controlError: "required"; as error) {
-
+
{{ error }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
index f9cbe5b4c..788bf8b13 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
@@ -10,6 +10,7 @@
} @if (achievements.at(i).get("achievementsDate"); as achievementsDate) {
-
+
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
index 7f1f07518..063cb7d77 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
@@ -16,6 +16,7 @@
>{{ field.label }}
@if (additionalForm.get(field.name); as control) {
{{ field.label }}
} } @if (additionalForm.get(field.name); as control) { @if (control | controlError:
"required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
} }
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
index 82c53731b..339e01623 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
@@ -100,19 +100,19 @@
::ng-deep {
app-input {
input {
- @include typography.body-14;
+ @include typography.body-12;
}
}
app-textarea {
textarea {
- @include typography.body-14;
+ @include typography.body-12;
}
}
app-select {
.field__input {
- @include typography.body-14;
+ @include typography.body-12;
}
}
}
@@ -154,3 +154,7 @@
display: block;
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
index 90eaeb1fa..ff96c8112 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
@@ -10,7 +10,7 @@
placeholder="https://example.com"
>
@if (link | controlError: "pattern") {
-
+
{{ errorMessage.VALIDATION_PATTERN }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
index fc941cb3b..96d7e17b7 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
@@ -44,3 +44,7 @@
display: block;
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
index ff75a0a52..d48f13589 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
@@ -68,6 +68,7 @@
} @if (trl; as trl) {
- @if ((name | controlError: "required") && projSubmitInitiated) {
+ @if ((name | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -106,10 +107,10 @@
size="big"
id="region"
formControlName="region"
- [error]="(region | controlError) && projSubmitInitiated"
+ [error]="(region | controlError) || projSubmitInitiated"
placeholder="Введите регион"
>
- @if ((region | controlError: "required") && projSubmitInitiated) {
+ @if ((region | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -165,10 +166,10 @@
size="big"
id="problem"
formControlName="problem"
- [error]="(problem | controlError) && projSubmitInitiated"
+ [error]="(problem | controlError) || projSubmitInitiated"
placeholder="Улучшить качество жизни студентов"
>
- @if ((problem | controlError: "required") && projSubmitInitiated) {
+ @if ((problem | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -180,11 +181,11 @@
- @if ((description | controlError: "required") && projSubmitInitiated) {
+ @if ((description | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -215,10 +216,11 @@
- @if ((targetAudience | controlError: "required")) {
+ @if ((targetAudience | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
index 7dd3c3194..9ffc03b73 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
@@ -95,3 +95,7 @@
}
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
index 58cd5f281..08bc50e6c 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
@@ -17,12 +17,13 @@
@if (showFields) {
-
+
@if (link; as link) {
} @if (inviteNotExistingError() && inviteSubmitInitiated()) {
- {{ errorMessage.USER_NOT_EXISTING }}
+ {{ errorMessage.USER_NOT_EXISTING }} либо
+ {{ errorMessage.USER_IS_LEADER }} либо
+ {{ errorMessage.USER_IS_MEMBER }} либо
}
@@ -46,6 +49,7 @@
@if ((specialization | controlError: "required") && inviteSubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -91,7 +95,7 @@
}
-
+
8 ? 'auto' : 'none'"
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
index e3466f8d7..78bb6af19 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
@@ -107,7 +107,7 @@
margin-bottom: 12px;
app-button {
- flex-basis: 70%;
+ flex-basis: 60%;
}
}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
index 0c8e787f4..4da9c7c92 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
@@ -8,13 +8,14 @@
@if ((role | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -22,14 +23,15 @@
} @if (description; as description) {
-
+ >
@if ((description | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -42,14 +44,16 @@
@if (requiredExperience | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -58,14 +62,16 @@
@if (workFormat | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -78,13 +84,14 @@
@if ((salary | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -93,14 +100,16 @@
@if (workSchedule | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -115,17 +124,16 @@
-
-
-
+ >
+
@@ -136,7 +144,7 @@
[error]="skills | controlError"
>
@if (skills | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -154,7 +162,7 @@
[options]="rolesMembersList"
>
@if ((specialization | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
index 488454f1b..e081fd4eb 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
@@ -91,16 +91,10 @@
&__submit {
display: block;
}
+}
- &__description {
- ::ng-deep {
- app-input {
- .field__input {
- padding: 40px 20px;
- }
- }
- }
- }
+.error {
+ color: var(--red) !important;
}
.vacancies {
@@ -110,14 +104,4 @@
flex-grow: 1;
margin-right: 6px;
}
-
- ::ng-deep {
- app-autocomplete-input {
- .field__input {
- padding: 12px 20px;
-
- @include typography.body-16;
- }
- }
- }
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
index 037b00cce..a22d41d4f 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
@@ -13,6 +13,7 @@ import { Skill } from "@office/models/skill";
import { ProjectVacancyService } from "../../services/project-vacancy.service";
import { ActivatedRoute } from "@angular/router";
import { IconComponent } from "@uilib";
+import { TextareaComponent } from "@ui/components/textarea/textarea.component";
@Component({
selector: "app-project-vacancy-step",
@@ -30,6 +31,7 @@ import { IconComponent } from "@uilib";
AutoCompleteInputComponent,
SkillsBasketComponent,
VacancyCardComponent,
+ TextareaComponent,
],
})
export class ProjectVacancyStepComponent implements OnInit {
diff --git a/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html b/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
index 9620af87e..25302bec4 100644
--- a/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
+++ b/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
@@ -60,13 +60,14 @@ Редактирование участника
@if ((role | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -74,13 +75,14 @@ Редактирование участника
@if ((specialization | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
index c71d5e263..c8f799555 100644
--- a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
+++ b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
@@ -35,7 +35,7 @@
@if (!editMode) {
} @else { @if (editForm.get("text"); as text) {
-
+
} }
} @if (editMode) {
diff --git a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
index e1f3e2acd..fcd54ed39 100644
--- a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
+++ b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
@@ -24,6 +24,7 @@
@for (criterion of criteria; track $index) { @if (criterion.type === "str") {
- @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills; track $index) {
+ @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills.slice(0, 5); track
+ $index) {
{{ vacancy.role }}
{{ vacancy.specialization ? vacancy.specialization : "" }}
- } } }
+ } } @if (vacancy.requiredSkills.length > 5) {
+
+ + {{ vacancy.requiredSkills.length - 5 }}
+
+ } }
diff --git a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
index a5cab82ee..84eff1bed 100644
--- a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
+++ b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
@@ -13,6 +13,10 @@
background-color: var(--accent);
border: none;
}
+
+ &--more {
+ color: var(--accent);
+ }
}
&__info {
@@ -30,6 +34,7 @@
display: flex;
flex-flow: row wrap;
gap: 10px;
+ align-items: center;
}
&__icons {
diff --git a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
index 98d605901..c8a704aa5 100644
--- a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
+++ b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
@@ -84,6 +84,7 @@ Фильтр
Заработная плата
Фильтр
@if (whyMe | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
} @if (whyMe | controlError: "maxlength") {
-
+
{{ errorMessage.VALIDATION_TOO_LONG }}
@if (whyMe.errors) {
{{ whyMe.errors["maxlength"]["requiredLength"] }}
}
} @if (whyMe | controlError: "minlength") {
-
+
{{ errorMessage.VALIDATION_TOO_SHORT }}
@if (whyMe.errors) {
{{ whyMe.errors["minlength"]["requiredLength"] }}
diff --git a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
index 2e51db552..48f551672 100644
--- a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
+++ b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
@@ -16,7 +16,7 @@
/>
@if (fieldToDisplayMode === "chip" && value()) {
- {{ $any(value())[fieldToDisplay] || value() }}
+ {{ $any(value())[fieldToDisplay] || value() }}
}
@@ -30,16 +30,16 @@
size="24px"
>
} @if (searchIcon && slimVersion) {
-
+
} @if (searchIcon && !slimVersion) {
-
+
}
@if (isOpen()) {
@if (noResults()) {
- -
+
-
{{ "Ничего не найдено :(" }}
@@ -47,7 +47,7 @@
Привет, {{ profile.firstName }} {{ profile.lastNam >
Привет, {{ profile.firstName }} {{ profile.lastNam @if (achievements.at(i).get("status"); as status) {
Привет, {{ profile.firstName }} {{ profile.lastNam
}
-
+
Добавить достижение
-
+
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam } @if (stageForm.get("languageLevel"); as languageLevel) {
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
(click)="addLanguage()"
>
{{ editLanguageClick ? "Сохранить изменения" : "Добавить язык" }}
-
+
@@ -615,7 +639,12 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
- Закончить регистрацию позже
Привет, {{ profile.firstName }} {{ profile.lastNam
: 'pointer'
}"
type="submit"
+ customTypographyClass="text-body-12"
[loader]="stageSubmitting()"
>Продолжить
@@ -656,9 +686,9 @@ Привет, {{ profile.firstName }} {{ profile.lastNam
- Произошла ошибка при отправке данных!
+ Произошла ошибка при отправке данных!
- {{ isModalErrorYearText() }}.
+ {{ isModalErrorYearText() }}.
diff --git a/projects/social_platform/src/app/office/profile/edit/edit.component.html b/projects/social_platform/src/app/office/profile/edit/edit.component.html
index e68059ec8..b2c2742af 100644
--- a/projects/social_platform/src/app/office/profile/edit/edit.component.html
+++ b/projects/social_platform/src/app/office/profile/edit/edit.component.html
@@ -48,7 +48,7 @@
[error]="avatar | controlError"
>
@if (avatar | controlError: "required") {
-
+
{{ errorMessage.EMPTY_AVATAR }}
}
@@ -88,7 +88,7 @@
placeholder="У меня много денег, я мамкин инвестор"
>
@if (usefulToProject | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -100,6 +100,7 @@
@if (firstName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -116,6 +117,7 @@
@if (lastName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -136,6 +138,7 @@
@if (birthday | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -152,6 +155,7 @@
@if (phoneNumber | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -167,7 +171,7 @@
}
-
+
Формат телефона должен соответствовать одному из таких форматов: +7 XXX XXX-XX-XX |
+375XXXXXXXXX | +995 (XXX) XX-XX-XX
@@ -190,11 +194,11 @@
formControlName="speciality"
>
-
+
@if (speciality | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -208,6 +212,7 @@
@if (city | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -225,13 +230,14 @@
@if (roles | async; as options) {
} @if (userType | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -240,6 +246,7 @@
@if (aboutMe | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -262,6 +269,7 @@
@if (entryYear | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -280,6 +288,7 @@
@if (completionYear | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -300,12 +309,13 @@
@if (organizationName | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -314,12 +324,13 @@
@if (description | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -328,6 +339,7 @@
@if (educationLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -345,6 +357,7 @@
@if (educationStatus | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -368,7 +381,7 @@
Студент Московского Политеха
@if (isMospolytechStudent | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -381,12 +394,13 @@
Для студентов Московского Политеха
@if (studyGroup | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -396,6 +410,7 @@
Добавить образование
-
+
@if(educationItems().length || education.length){ @for (educationItem of education.value;
@@ -429,7 +444,7 @@
class="edit"
appIcon
icon="edit-pen"
- appSquare="20"
+ appSquare="16"
(click)="editEducation($index)"
>
@@ -446,6 +461,7 @@
@if (entryYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -464,6 +480,7 @@
@if (completionYearWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -485,6 +502,7 @@
@if (organization | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -501,6 +519,7 @@
@if (jobPosition | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -517,6 +536,7 @@
@if (descriptionWork | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -534,6 +554,7 @@
Добавить место работы
-
+
@if(workItems().length || workExperience.length){ @for (workItem of workExperience.value;
@@ -561,7 +582,7 @@
{{ workItem.description }}
{{ workItem.jobPosition }}
-
+
@@ -582,12 +603,13 @@
@if (title | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -605,12 +627,13 @@
@if (achievements.at(i).get("status"); as status) {
@if (status | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -623,9 +646,14 @@
-
+
Добавить достижение
-
+
} @if (editingStep === 'skills') {
@@ -646,7 +674,7 @@
(optionSelected)="onAddSkill($event)"
>
-
+
@@ -673,6 +701,7 @@
@if (language | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -691,6 +720,7 @@
@if (languageLevel | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -713,6 +743,7 @@
Добавить язык
-
+
@@ -741,7 +772,7 @@
class="edit"
appIcon
icon="edit-pen"
- appSquare="20"
+ appSquare="16"
(click)="editLanguage($index)"
>
@@ -766,7 +797,7 @@
formControlName="additionalRole"
>
@if (additionalRole | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -899,7 +930,9 @@ Библиотека специальностей
- Сохранить
+ Сохранить
@@ -922,6 +955,8 @@ Библиотека навыков
- Сохранить
+ Сохранить
diff --git a/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html b/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
index 8a9de925c..5d9ab1438 100644
--- a/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
+++ b/projects/social_platform/src/app/office/program/detail/projects/projects-filter/projects-filter.component.html
@@ -43,6 +43,7 @@ {{ field.label }}
{{ field.label }}
{{ f.value.name }}
@if (registerForm.get(f.key); as field) {
О проекте
@if (form | controlError: "required"; as error) {
-
+
{{ error }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
index f9cbe5b4c..788bf8b13 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-achievement-step/project-achievement-step.component.html
@@ -10,6 +10,7 @@
} @if (achievements.at(i).get("achievementsDate"); as achievementsDate) {
-
+
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
index 7f1f07518..063cb7d77 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.html
@@ -16,6 +16,7 @@
>{{ field.label }}
@if (additionalForm.get(field.name); as control) {
{{ field.label }}
} } @if (additionalForm.get(field.name); as control) { @if (control | controlError:
"required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
} }
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
index 82c53731b..339e01623 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-additional-step/project-additional-step.component.scss
@@ -100,19 +100,19 @@
::ng-deep {
app-input {
input {
- @include typography.body-14;
+ @include typography.body-12;
}
}
app-textarea {
textarea {
- @include typography.body-14;
+ @include typography.body-12;
}
}
app-select {
.field__input {
- @include typography.body-14;
+ @include typography.body-12;
}
}
}
@@ -154,3 +154,7 @@
display: block;
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
index 90eaeb1fa..ff96c8112 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.html
@@ -10,7 +10,7 @@
placeholder="https://example.com"
>
@if (link | controlError: "pattern") {
-
+
{{ errorMessage.VALIDATION_PATTERN }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
index fc941cb3b..96d7e17b7 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-contacts-step/project-contacts-step.component.scss
@@ -44,3 +44,7 @@
display: block;
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
index ff75a0a52..d48f13589 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html
@@ -68,6 +68,7 @@
} @if (trl; as trl) {
- @if ((name | controlError: "required") && projSubmitInitiated) {
+ @if ((name | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -106,10 +107,10 @@
size="big"
id="region"
formControlName="region"
- [error]="(region | controlError) && projSubmitInitiated"
+ [error]="(region | controlError) || projSubmitInitiated"
placeholder="Введите регион"
>
- @if ((region | controlError: "required") && projSubmitInitiated) {
+ @if ((region | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -165,10 +166,10 @@
size="big"
id="problem"
formControlName="problem"
- [error]="(problem | controlError) && projSubmitInitiated"
+ [error]="(problem | controlError) || projSubmitInitiated"
placeholder="Улучшить качество жизни студентов"
>
- @if ((problem | controlError: "required") && projSubmitInitiated) {
+ @if ((problem | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -180,11 +181,11 @@
- @if ((description | controlError: "required") && projSubmitInitiated) {
+ @if ((description | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
@@ -215,10 +216,11 @@
- @if ((targetAudience | controlError: "required")) {
+ @if ((targetAudience | controlError: "required") || projSubmitInitiated) {
{{ errorMessage.VALIDATION_REQUIRED }}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
index 7dd3c3194..9ffc03b73 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss
@@ -95,3 +95,7 @@
}
}
}
+
+.error {
+ color: var(--red) !important;
+}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
index 58cd5f281..08bc50e6c 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html
@@ -17,12 +17,13 @@
@if (showFields) {
-
+
@if (link; as link) {
} @if (inviteNotExistingError() && inviteSubmitInitiated()) {
- {{ errorMessage.USER_NOT_EXISTING }}
+ {{ errorMessage.USER_NOT_EXISTING }} либо
+ {{ errorMessage.USER_IS_LEADER }} либо
+ {{ errorMessage.USER_IS_MEMBER }} либо
}
@@ -46,6 +49,7 @@
@if ((specialization | controlError: "required") && inviteSubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -91,7 +95,7 @@
}
-
+
8 ? 'auto' : 'none'"
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
index e3466f8d7..78bb6af19 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
@@ -107,7 +107,7 @@
margin-bottom: 12px;
app-button {
- flex-basis: 70%;
+ flex-basis: 60%;
}
}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
index 0c8e787f4..4da9c7c92 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
@@ -8,13 +8,14 @@
@if ((role | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -22,14 +23,15 @@
} @if (description; as description) {
-
+ >
@if ((description | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -42,14 +44,16 @@
@if (requiredExperience | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -58,14 +62,16 @@
@if (workFormat | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -78,13 +84,14 @@
@if ((salary | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -93,14 +100,16 @@
@if (workSchedule | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -115,17 +124,16 @@
-
-
-
+ >
+
@@ -136,7 +144,7 @@
[error]="skills | controlError"
>
@if (skills | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -154,7 +162,7 @@
[options]="rolesMembersList"
>
@if ((specialization | controlError: "required") && vacancySubmitInitiated()) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
index 488454f1b..e081fd4eb 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.scss
@@ -91,16 +91,10 @@
&__submit {
display: block;
}
+}
- &__description {
- ::ng-deep {
- app-input {
- .field__input {
- padding: 40px 20px;
- }
- }
- }
- }
+.error {
+ color: var(--red) !important;
}
.vacancies {
@@ -110,14 +104,4 @@
flex-grow: 1;
margin-right: 6px;
}
-
- ::ng-deep {
- app-autocomplete-input {
- .field__input {
- padding: 12px 20px;
-
- @include typography.body-16;
- }
- }
- }
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
index 037b00cce..a22d41d4f 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.ts
@@ -13,6 +13,7 @@ import { Skill } from "@office/models/skill";
import { ProjectVacancyService } from "../../services/project-vacancy.service";
import { ActivatedRoute } from "@angular/router";
import { IconComponent } from "@uilib";
+import { TextareaComponent } from "@ui/components/textarea/textarea.component";
@Component({
selector: "app-project-vacancy-step",
@@ -30,6 +31,7 @@ import { IconComponent } from "@uilib";
AutoCompleteInputComponent,
SkillsBasketComponent,
VacancyCardComponent,
+ TextareaComponent,
],
})
export class ProjectVacancyStepComponent implements OnInit {
diff --git a/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html b/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
index 9620af87e..25302bec4 100644
--- a/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
+++ b/projects/social_platform/src/app/office/shared/invite-card/invite-card.component.html
@@ -60,13 +60,14 @@ Редактирование участника
@if ((role | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -74,13 +75,14 @@ Редактирование участника
@if ((specialization | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
index c71d5e263..c8f799555 100644
--- a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
+++ b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
@@ -35,7 +35,7 @@
@if (!editMode) {
} @else { @if (editForm.get("text"); as text) {
-
+
} }
} @if (editMode) {
diff --git a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
index e1f3e2acd..fcd54ed39 100644
--- a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
+++ b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
@@ -24,6 +24,7 @@
@for (criterion of criteria; track $index) { @if (criterion.type === "str") {
- @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills; track $index) {
+ @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills.slice(0, 5); track
+ $index) {
{{ vacancy.role }}
{{ vacancy.specialization ? vacancy.specialization : "" }}
- } } }
+ } } @if (vacancy.requiredSkills.length > 5) {
+
+ + {{ vacancy.requiredSkills.length - 5 }}
+
+ } }
diff --git a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
index a5cab82ee..84eff1bed 100644
--- a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
+++ b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
@@ -13,6 +13,10 @@
background-color: var(--accent);
border: none;
}
+
+ &--more {
+ color: var(--accent);
+ }
}
&__info {
@@ -30,6 +34,7 @@
display: flex;
flex-flow: row wrap;
gap: 10px;
+ align-items: center;
}
&__icons {
diff --git a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
index 98d605901..c8a704aa5 100644
--- a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
+++ b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
@@ -84,6 +84,7 @@ Фильтр
Заработная плата
Фильтр
@if (whyMe | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
} @if (whyMe | controlError: "maxlength") {
-
+
{{ errorMessage.VALIDATION_TOO_LONG }}
@if (whyMe.errors) {
{{ whyMe.errors["maxlength"]["requiredLength"] }}
}
} @if (whyMe | controlError: "minlength") {
-
+
{{ errorMessage.VALIDATION_TOO_SHORT }}
@if (whyMe.errors) {
{{ whyMe.errors["minlength"]["requiredLength"] }}
diff --git a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
index 2e51db552..48f551672 100644
--- a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
+++ b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
@@ -16,7 +16,7 @@
/>
@if (fieldToDisplayMode === "chip" && value()) {
- {{ $any(value())[fieldToDisplay] || value() }}
+ {{ $any(value())[fieldToDisplay] || value() }}
}
@@ -30,16 +30,16 @@
size="24px"
>
} @if (searchIcon && slimVersion) {
-
+
} @if (searchIcon && !slimVersion) {
-
+
}
@if (isOpen()) {
@if (noResults()) {
- -
+
-
{{ "Ничего не найдено :(" }}
@@ -47,7 +47,7 @@
Привет, {{ profile.firstName }} {{ profile.lastNam
Привет, {{ profile.firstName }} {{ profile.lastNam
- Произошла ошибка при отправке данных!
+ Произошла ошибка при отправке данных!
- {{ isModalErrorYearText() }}.
+ {{ isModalErrorYearText() }}.
Произошла ошибка при отправке данных!
+Произошла ошибка при отправке данных!
{{ isModalErrorYearText() }}.
+{{ isModalErrorYearText() }}.
+
Формат телефона должен соответствовать одному из таких форматов: +7 XXX XXX-XX-XX | +375XXXXXXXXX | +995 (XXX) XX-XX-XX
@@ -190,11 +194,11 @@ formControlName="speciality" >Библиотека специальностей
Библиотека навыков
{{ field.label }}
{{ field.label }}
+ {{ errorMessage.USER_IS_LEADER }} либо
+ {{ errorMessage.USER_IS_MEMBER }} либо
- 8 ? 'auto' : 'none'"
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
index e3466f8d7..78bb6af19 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss
@@ -107,7 +107,7 @@
margin-bottom: 12px;
app-button {
- flex-basis: 70%;
+ flex-basis: 60%;
}
}
}
diff --git a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
index 0c8e787f4..4da9c7c92 100644
--- a/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
+++ b/projects/social_platform/src/app/office/projects/edit/shared/project-vacancy-step/project-vacancy-step.component.html
@@ -8,13 +8,14 @@
- +
- {{ "Ничего не найдено :(" }}
Редактирование участника
@if ((role | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
@@ -74,13 +75,14 @@ Редактирование участника
@if ((specialization | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
index c71d5e263..c8f799555 100644
--- a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
+++ b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
@@ -35,7 +35,7 @@
@if (!editMode) {
} @else { @if (editForm.get("text"); as text) {
-
+
} }
} @if (editMode) {
diff --git a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
index e1f3e2acd..fcd54ed39 100644
--- a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
+++ b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
@@ -24,6 +24,7 @@
@for (criterion of criteria; track $index) { @if (criterion.type === "str") {
- @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills; track $index) {
+ @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills.slice(0, 5); track
+ $index) {
{{ vacancy.role }}
{{ vacancy.specialization ? vacancy.specialization : "" }}
- } } }
+ } } @if (vacancy.requiredSkills.length > 5) {
+
+ + {{ vacancy.requiredSkills.length - 5 }}
+
+ } }
diff --git a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
index a5cab82ee..84eff1bed 100644
--- a/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
+++ b/projects/social_platform/src/app/office/shared/vacancy-card/vacancy-card.component.scss
@@ -13,6 +13,10 @@
background-color: var(--accent);
border: none;
}
+
+ &--more {
+ color: var(--accent);
+ }
}
&__info {
@@ -30,6 +34,7 @@
display: flex;
flex-flow: row wrap;
gap: 10px;
+ align-items: center;
}
&__icons {
diff --git a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
index 98d605901..c8a704aa5 100644
--- a/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
+++ b/projects/social_platform/src/app/office/vacancies/shared/filter/vacancy-filter.component.html
@@ -84,6 +84,7 @@ Фильтр
Заработная плата
Фильтр
@if (whyMe | controlError: "required") {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
} @if (whyMe | controlError: "maxlength") {
-
+
{{ errorMessage.VALIDATION_TOO_LONG }}
@if (whyMe.errors) {
{{ whyMe.errors["maxlength"]["requiredLength"] }}
}
} @if (whyMe | controlError: "minlength") {
-
+
{{ errorMessage.VALIDATION_TOO_SHORT }}
@if (whyMe.errors) {
{{ whyMe.errors["minlength"]["requiredLength"] }}
diff --git a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
index 2e51db552..48f551672 100644
--- a/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
+++ b/projects/social_platform/src/app/ui/components/autocomplete-input/autocomplete-input.component.html
@@ -16,7 +16,7 @@
/>
@if (fieldToDisplayMode === "chip" && value()) {
- {{ $any(value())[fieldToDisplay] || value() }}
+ {{ $any(value())[fieldToDisplay] || value() }}
}
@@ -30,16 +30,16 @@
size="24px"
>
} @if (searchIcon && slimVersion) {
-
+
} @if (searchIcon && !slimVersion) {
-
+
}
@if (isOpen()) {
@if (noResults()) {
-
@@ -47,7 +47,7 @@
Редактирование участника
@if ((specialization | controlError: "required")) {
-
+
{{ errorMessage.VALIDATION_REQUIRED }}
}
diff --git a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
index c71d5e263..c8f799555 100644
--- a/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
+++ b/projects/social_platform/src/app/office/shared/news-card/news-card.component.html
@@ -35,7 +35,7 @@
@if (!editMode) {
} @else { @if (editForm.get("text"); as text) {
-
+
} }
} @if (editMode) {
diff --git a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
index e1f3e2acd..fcd54ed39 100644
--- a/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
+++ b/projects/social_platform/src/app/office/shared/project-rating/project-rating.component.html
@@ -24,6 +24,7 @@
@for (criterion of criteria; track $index) { @if (criterion.type === "str") {
- @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills; track $index) {
+ @if (vacancy.requiredSkills.length) { @for (skill of vacancy.requiredSkills.slice(0, 5); track
+ $index) {
{{ vacancy.role }}
{{ vacancy.specialization ? vacancy.specialization : "" }}
- } } }
+ } } @if (vacancy.requiredSkills.length > 5) {
+
+ + {{ vacancy.requiredSkills.length - 5 }}
+
+ } }
{{ vacancy.role }}
{{ vacancy.specialization ? vacancy.specialization : "" }}
- } } } + } } @if (vacancy.requiredSkills.length > 5) { ++ + {{ vacancy.requiredSkills.length - 5 }} +
+ } }-
-
{{ vacancy.role }}