mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
[UBER-339] Update vacancy actions (#3379)
Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
parent
057feb89d3
commit
43247b6b57
@ -997,8 +997,8 @@ export function createModel (builder: Builder): void {
|
||||
createAction(builder, { ...actionTemplates.unarchiveSpace, target: recruit.class.Vacancy })
|
||||
|
||||
createAction(builder, {
|
||||
label: recruit.string.EditVacancy,
|
||||
icon: view.icon.Edit,
|
||||
label: view.string.Open,
|
||||
icon: view.icon.Open,
|
||||
action: view.actionImpl.ShowPanel,
|
||||
actionProps: {
|
||||
component: recruit.component.EditVacancy,
|
||||
@ -1041,6 +1041,21 @@ export function createModel (builder: Builder): void {
|
||||
|
||||
createReviewModel(builder)
|
||||
|
||||
createAction(builder, {
|
||||
...viewTemplates.open,
|
||||
label: recruit.string.ShowApplications,
|
||||
icon: recruit.icon.Application,
|
||||
target: recruit.class.Vacancy,
|
||||
context: {
|
||||
mode: ['browser', 'context'],
|
||||
group: 'create'
|
||||
},
|
||||
action: workbench.actionImpl.Navigate,
|
||||
actionProps: {
|
||||
mode: 'space'
|
||||
}
|
||||
})
|
||||
|
||||
createAction(builder, {
|
||||
...viewTemplates.open,
|
||||
target: recruit.class.ApplicantMatch,
|
||||
|
@ -63,7 +63,8 @@ export default mergeIds(recruitId, recruit, {
|
||||
GotoRecruitApplication: '' as IntlString,
|
||||
VacancyList: '' as IntlString,
|
||||
ConfigLabel: '' as IntlString,
|
||||
ConfigDescription: '' as IntlString
|
||||
ConfigDescription: '' as IntlString,
|
||||
ShowApplications: '' as IntlString
|
||||
},
|
||||
validator: {
|
||||
ApplicantValidator: '' as Resource<<T extends Doc>(doc: T, client: Client) => Promise<Status>>
|
||||
|
@ -113,7 +113,9 @@
|
||||
"Export": "Export",
|
||||
"ConfigLabel": "Recruiting",
|
||||
"ConfigDescription": "Extension to manage Talents/Applicants and Vacancies.",
|
||||
"MyApplications": "My applications"
|
||||
"MyApplications": "My applications",
|
||||
|
||||
"ShowApplications": "Show applications"
|
||||
},
|
||||
"status": {
|
||||
"TalentRequired": "Please select talent",
|
||||
|
@ -113,7 +113,9 @@
|
||||
"Export": "Экспорт",
|
||||
"ConfigLabel": "Рекрутинг",
|
||||
"ConfigDescription": "Модуль по работе с талантами/кандидатами и вакансиями",
|
||||
"MyApplications": "Мои кандидаты"
|
||||
"MyApplications": "Мои кандидаты",
|
||||
|
||||
"ShowApplications": "Показать кандидатов"
|
||||
},
|
||||
"status": {
|
||||
"TalentRequired": "Пожалуйста выберите таланта",
|
||||
|
Loading…
Reference in New Issue
Block a user