diff --git a/plugins/recruit-assets/lang/en.json b/plugins/recruit-assets/lang/en.json index d70b93f46f..1f20d7be46 100644 --- a/plugins/recruit-assets/lang/en.json +++ b/plugins/recruit-assets/lang/en.json @@ -12,6 +12,7 @@ "CompanyCreateLabel": "Company", "VacancyPlaceholder": "Software Engineer", "CreateAnApplication": "New Application", + "NoVacancies": "No Vacancies", "NoApplicationsForTalent": "There are no applications for this talent.", "NoApplicationsForVacancy": "There are no applications for this vacancy.", "CreateApplication": "New Application", @@ -128,4 +129,4 @@ "TalentRequired": "Please select talent", "VacancyRequired": "Please select vacancy" } -} \ No newline at end of file +} diff --git a/plugins/recruit-assets/lang/es.json b/plugins/recruit-assets/lang/es.json index 50c9f3079a..2e41c535d9 100644 --- a/plugins/recruit-assets/lang/es.json +++ b/plugins/recruit-assets/lang/es.json @@ -12,6 +12,7 @@ "CompanyCreateLabel": "Empresa", "VacancyPlaceholder": "Ingeniero de software", "CreateAnApplication": "Nueva solicitud", + "NoVacancies": "No hay vacantes", "NoApplicationsForTalent": "No hay solicitudes para este talento.", "NoApplicationsForVacancy": "No hay solicitudes para esta vacante.", "CreateApplication": "Nueva solicitud", @@ -125,4 +126,4 @@ "TalentRequired": "Seleccione un talento", "VacancyRequired": "Seleccione una vacante" } -} \ No newline at end of file +} diff --git a/plugins/recruit-assets/lang/pt.json b/plugins/recruit-assets/lang/pt.json index e03ebfb0d4..73155d5437 100644 --- a/plugins/recruit-assets/lang/pt.json +++ b/plugins/recruit-assets/lang/pt.json @@ -12,6 +12,7 @@ "CompanyCreateLabel": "Empresa", "VacancyPlaceholder": "Engenheiro de software", "CreateAnApplication": "Nova candidatura", + "NoVacancies": "Não existem vagas", "NoApplicationsForTalent": "Não existem candidaturas para este talento.", "NoApplicationsForVacancy": "Não existem candidaturas para esta vaga.", "CreateApplication": "Nova candidatura", @@ -125,4 +126,4 @@ "TalentRequired": "Selecione um talento", "VacancyRequired": "Selecione uma vaga" } -} \ No newline at end of file +} diff --git a/plugins/recruit-assets/lang/ru.json b/plugins/recruit-assets/lang/ru.json index a5fe0829ca..e78a8b1a3a 100644 --- a/plugins/recruit-assets/lang/ru.json +++ b/plugins/recruit-assets/lang/ru.json @@ -12,6 +12,7 @@ "CompanyCreateLabel": "Компания", "VacancyPlaceholder": "Разработчик", "CreateAnApplication": "Новый Кандидат", + "NoVacancies": "Нет вакансий", "NoApplicationsForTalent": "Нет кандидатов для данного таланта.", "NoApplicationsForVacancy": "Нет кандидатов для данной вакансии.", "CreateApplication": "Новый Кандидат", @@ -59,7 +60,7 @@ "ManageVacancyStatuses": "Управление типами вакансии", "EditVacancy": "Редактировать", "FullDescription": "Детальное описание", - + "CreateReview": "Запланировать Ревью", "CreateReviewParams": "Запланировать {label}", "Reviews": "Ревью", @@ -128,4 +129,4 @@ "TalentRequired": "Пожалуйста, выберите таланта", "VacancyRequired": "Пожалуйста, выберите вакансию" } -} \ No newline at end of file +} diff --git a/plugins/recruit-resources/src/components/Applications.svelte b/plugins/recruit-resources/src/components/Applications.svelte index 490e05fd87..8dcd184ba2 100644 --- a/plugins/recruit-resources/src/components/Applications.svelte +++ b/plugins/recruit-resources/src/components/Applications.svelte @@ -21,6 +21,7 @@ import CreateApplication from './CreateApplication.svelte' import IconApplication from './icons/Application.svelte' import FileDuo from './icons/FileDuo.svelte' + import SectionEmpty from './SectionEmpty.svelte' export let objectId: Ref @@ -50,7 +51,7 @@ - {#if applications > 0 && viewlet && !loading} + {#if applications > 0 && viewlet !== undefined && !loading} {:else} -
-
- -
- - + -
+ {/if} diff --git a/plugins/recruit-resources/src/components/SectionEmpty.svelte b/plugins/recruit-resources/src/components/SectionEmpty.svelte new file mode 100644 index 0000000000..170ab68219 --- /dev/null +++ b/plugins/recruit-resources/src/components/SectionEmpty.svelte @@ -0,0 +1,36 @@ + + + + +
+
+ +
+ + + +
diff --git a/plugins/recruit-resources/src/components/VacancyApplications.svelte b/plugins/recruit-resources/src/components/VacancyApplications.svelte index 0e3b5ee136..7a3476a29d 100644 --- a/plugins/recruit-resources/src/components/VacancyApplications.svelte +++ b/plugins/recruit-resources/src/components/VacancyApplications.svelte @@ -23,6 +23,7 @@ import CreateApplication from './CreateApplication.svelte' import IconApplication from './icons/Application.svelte' import FileDuo from './icons/FileDuo.svelte' + import SectionEmpty from './SectionEmpty.svelte' export let objectId: Ref let applications: number @@ -63,7 +64,7 @@ {#if applications > 0} - {#if viewlet && !loading} + {#if viewlet !== undefined && !loading}
{/if} {:else} -
-
- -
- - + + + -
+ {/if} diff --git a/plugins/recruit-resources/src/components/VacancyList.svelte b/plugins/recruit-resources/src/components/VacancyList.svelte index 40643fe1e9..9435189794 100644 --- a/plugins/recruit-resources/src/components/VacancyList.svelte +++ b/plugins/recruit-resources/src/components/VacancyList.svelte @@ -14,7 +14,6 @@ -->