-
- @for (item of feedItems(); track item.content.id) { @if (item.typeModel === "vacancy") {
+
0 ? '2' : '1'">
+ @if (feedItems().length > 0) { @for (item of feedItems(); track item.content.id) { @if
+ (item.typeModel === "vacancy") {
- } } }
+ } } } } @else {
+
+
+
в данном разделе пока нет новостей
+
+ }
diff --git a/projects/social_platform/src/app/office/feed/feed.component.scss b/projects/social_platform/src/app/office/feed/feed.component.scss
index cf6a935c2..7ae1bc2fb 100644
--- a/projects/social_platform/src/app/office/feed/feed.component.scss
+++ b/projects/social_platform/src/app/office/feed/feed.component.scss
@@ -9,6 +9,20 @@
&__feed {
column-count: 2;
column-gap: 20px;
+
+ &--no-items {
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+ align-items: center;
+ justify-content: center;
+ margin-top: 70px;
+
+ i,
+ p {
+ color: var(--grey-for-text);
+ }
+ }
}
&__item {
diff --git a/projects/social_platform/src/app/office/feed/feed.component.ts b/projects/social_platform/src/app/office/feed/feed.component.ts
index 0dc4e9128..b0cd630d4 100644
--- a/projects/social_platform/src/app/office/feed/feed.component.ts
+++ b/projects/social_platform/src/app/office/feed/feed.component.ts
@@ -23,16 +23,19 @@ import { ProfileNewsService } from "@office/profile/detail/services/profile-news
import { FeedFilterComponent } from "@office/feed/filter/feed-filter.component";
import { NewsCardComponent } from "@office/features/news-card/news-card.component";
import { OpenVacancyComponent } from "./shared/open-vacancy/open-vacancy.component";
+import { IconComponent } from "@ui/components";
@Component({
selector: "app-feed",
standalone: true,
imports: [
CommonModule,
+ IconComponent,
NewProjectComponent,
FeedFilterComponent,
NewsCardComponent,
OpenVacancyComponent,
+ IconComponent,
],
changeDetection: ChangeDetectionStrategy.OnPush,
templateUrl: "./feed.component.html",
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 2cf466293..428d06048 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
@@ -37,7 +37,7 @@
[tooltipPosition]="'left'"
[tooltipWidth]="300"
[error]="achievementsDate | controlError"
- type="text"
+ type="date"
placeholder="2022"
mask="0000"
formControlName="status"
diff --git a/projects/social_platform/src/app/office/vacancies/detail/info/info.component.scss b/projects/social_platform/src/app/office/vacancies/detail/info/info.component.scss
index e838f943a..9b65cc0f1 100644
--- a/projects/social_platform/src/app/office/vacancies/detail/info/info.component.scss
+++ b/projects/social_platform/src/app/office/vacancies/detail/info/info.component.scss
@@ -151,8 +151,6 @@
&:hover {
color: var(--accent-dark);
}
-
- @include typography.body-14;
}
.about {
diff --git a/projects/social_platform/src/app/office/vacancies/list/list.component.html b/projects/social_platform/src/app/office/vacancies/list/list.component.html
index e4644b551..c5f851fc6 100644
--- a/projects/social_platform/src/app/office/vacancies/list/list.component.html
+++ b/projects/social_platform/src/app/office/vacancies/list/list.component.html
@@ -8,8 +8,8 @@
} }
- } @if (type() === 'my') { @if (responsesList().length) { @for (response of responsesList(); track
- $index) {
+ } @if (type() === 'my') { @if (responsesList().length > 0) { @for (response of responsesList();
+ track $index) {
+
+
+ в данном разделе пока нет ваших откликов : - (
+ давайте это исправим
+
+
+ } }
diff --git a/projects/social_platform/src/app/office/vacancies/list/list.component.scss b/projects/social_platform/src/app/office/vacancies/list/list.component.scss
index dfb6f78b5..8edcfef42 100644
--- a/projects/social_platform/src/app/office/vacancies/list/list.component.scss
+++ b/projects/social_platform/src/app/office/vacancies/list/list.component.scss
@@ -6,6 +6,21 @@
display: grid;
grid-template-columns: 333px 333px;
grid-gap: 20px;
+
+ &--no-items {
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+ align-items: center;
+ justify-content: center;
+ margin-top: 70px;
+ text-align: center;
+
+ i,
+ p {
+ color: var(--grey-for-text);
+ }
+ }
}
&__item {
diff --git a/projects/social_platform/src/app/ui/components/input/input.component.html b/projects/social_platform/src/app/ui/components/input/input.component.html
index 0edc178d4..44d83b388 100644
--- a/projects/social_platform/src/app/ui/components/input/input.component.html
+++ b/projects/social_platform/src/app/ui/components/input/input.component.html
@@ -4,6 +4,7 @@