mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-25 19:58:30 +03:00
UBER-158: new popup dialog (#3409)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
2a62b880ea
commit
d553a261d8
@ -22,6 +22,7 @@
|
||||
export let labelProps: IntlString
|
||||
export let message: IntlString
|
||||
export let params: Record<string, any> = {}
|
||||
export let okLabel: IntlString | undefined = undefined
|
||||
export let canSubmit = true
|
||||
export let action: (() => Promise<void>) | undefined = undefined
|
||||
|
||||
@ -40,7 +41,7 @@
|
||||
<Button
|
||||
focus
|
||||
focusIndex={1}
|
||||
label={presentation.string.Ok}
|
||||
label={okLabel ?? presentation.string.Ok}
|
||||
size={'large'}
|
||||
kind={'primary'}
|
||||
loading={processing}
|
||||
|
@ -106,8 +106,9 @@
|
||||
"SearchVacancy": "Search vacancy...",
|
||||
"Organizations": "Companies",
|
||||
|
||||
"TemplateReplace": "You you replace selected template?",
|
||||
"TemplateReplaceConfirm": "All field changes will be override by template values",
|
||||
"TemplateReplace": "Do you want to apply the new template?",
|
||||
"TemplateReplaceConfirm": "All fields will be overwritten by the new template values",
|
||||
"Apply": "Apply",
|
||||
|
||||
"OpenVacancyList": "Open list",
|
||||
"Export": "Export",
|
||||
|
@ -107,8 +107,9 @@
|
||||
"MoveApplication": "Поменять Вакансию",
|
||||
"SearchVacancy": "Найти вакансию...",
|
||||
"Organizations": "Компании",
|
||||
"TemplateReplace": "Вы хотите заменить выбранный шаблон?",
|
||||
"TemplateReplaceConfirm": "Все внесенные изменения в будут заменены значениями из шаблоном",
|
||||
"TemplateReplace": "Вы хотите применить выбранный шаблон?",
|
||||
"TemplateReplaceConfirm": "Все внесенные изменения в будут заменены значениями из нового шаблона",
|
||||
"Apply": "Применить",
|
||||
"OpenVacancyList": "Открыть список",
|
||||
"Export": "Экспорт",
|
||||
"ConfigLabel": "Рекрутинг",
|
||||
|
@ -219,7 +219,8 @@
|
||||
MessageBox,
|
||||
{
|
||||
label: recruit.string.TemplateReplace,
|
||||
message: recruit.string.TemplateReplaceConfirm
|
||||
message: recruit.string.TemplateReplaceConfirm,
|
||||
okLabel: recruit.string.Apply
|
||||
},
|
||||
'top',
|
||||
(result?: boolean) => {
|
||||
|
@ -128,6 +128,7 @@ export default mergeIds(recruitId, recruit, {
|
||||
|
||||
TemplateReplace: '' as IntlString,
|
||||
TemplateReplaceConfirm: '' as IntlString,
|
||||
Apply: '' as IntlString,
|
||||
OpenVacancyList: '' as IntlString,
|
||||
Export: '' as IntlString
|
||||
},
|
||||
|
@ -262,8 +262,9 @@
|
||||
"NewProcess": "New Template",
|
||||
"SaveProcess": "Save Template",
|
||||
"NoIssueTemplate": "No Template",
|
||||
"TemplateReplace": "You you replace selected template?",
|
||||
"TemplateReplaceConfirm": "All field changes will be override by template values",
|
||||
"TemplateReplace": "Do you want to apply the new template?",
|
||||
"TemplateReplaceConfirm": "All fields will be overwritten by the new template values",
|
||||
"Apply": "Apply",
|
||||
|
||||
"CurrentWorkDay": "Current Working Day",
|
||||
"PreviousWorkDay": "Previous Working Day",
|
||||
|
@ -262,8 +262,9 @@
|
||||
"NewProcess": "Новый шаблон",
|
||||
"SaveProcess": "Сохранить шаблон",
|
||||
"NoIssueTemplate": "Шаблон не задан",
|
||||
"TemplateReplace": "Вы хотите заменить выбранный шаблон?",
|
||||
"TemplateReplaceConfirm": "Все внесенные изменения в будут заменены значениями из шаблоном",
|
||||
"TemplateReplace": "Вы хотите применить выбранный шаблон?",
|
||||
"TemplateReplaceConfirm": "Все внесенные изменения в будут заменены значениями из нового шаблона",
|
||||
"Apply": "Применить",
|
||||
|
||||
"CurrentWorkDay": "Текущий Рабочий День",
|
||||
"PreviousWorkDay": "Предыдущий Рабочий День",
|
||||
|
@ -475,7 +475,8 @@
|
||||
MessageBox,
|
||||
{
|
||||
label: tracker.string.TemplateReplace,
|
||||
message: tracker.string.TemplateReplaceConfirm
|
||||
message: tracker.string.TemplateReplaceConfirm,
|
||||
okLabel: tracker.string.Apply
|
||||
},
|
||||
'top',
|
||||
(result?: boolean) => {
|
||||
|
@ -293,6 +293,7 @@ export default mergeIds(trackerId, tracker, {
|
||||
NoIssueTemplate: '' as IntlString,
|
||||
TemplateReplace: '' as IntlString,
|
||||
TemplateReplaceConfirm: '' as IntlString,
|
||||
Apply: '' as IntlString,
|
||||
|
||||
CurrentWorkDay: '' as IntlString,
|
||||
PreviousWorkDay: '' as IntlString,
|
||||
|
Loading…
Reference in New Issue
Block a user