feat(inbounds): attach existing clients to an inbound in one click

Adds an 'Attach Existing Clients' row action on multi-user inbounds (shown even when the inbound is empty). It opens a modal listing the whole client pool with search and group filter, all attachable clients pre-selected, and attaches the selection to that inbound via the existing bulkAttach endpoint. Clients already on the inbound are shown disabled and skipped. Translations added for all 13 locales.
This commit is contained in:
MHSanaei
2026-06-01 07:26:30 +02:00
parent 971843f669
commit dd14e9b3b0
17 changed files with 318 additions and 0 deletions
+5
View File
@@ -320,6 +320,11 @@
"attachClientsSearchPlaceholder": "Поиск email или комментария",
"attachClientsStatusDisabled": "Отключено",
"attachClientsSelectedCount": "{selected} из {total} выбрано",
"attachExistingClients": "Привязать существующих клиентов…",
"attachExistingTitle": "Привязать существующих клиентов к «{remark}»",
"attachExistingDesc": "Привязывает существующих клиентов (доступно {count}) к этому входящему — тот же UUID/пароль и общий трафик. Клиенты, уже привязанные к нему, пропускаются.",
"attachExistingNoClients": "Клиентов пока нет. Сначала создайте клиентов, затем привяжите их здесь.",
"attachExistingStatusAttached": "Уже привязан",
"detachClients": "Отвязать клиентов",
"detachClientsTitle": "Отвязать клиентов из «{remark}»",
"detachClientsDesc": "Удаляет выбранных клиент(ов) только с этого входящего. Записи клиентов сохраняются (используйте Delete для полного удаления). У источника всего {count} клиент(ов).",