From 55049fceb978f2e20b13800b77775377428de386 Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: Tue, 28 Jun 2016 15:35:59 +0200 Subject: Add authentication identificator to host page Also move strings which are connected with authentication indicators to authtype dict. This place is more general than have them in service dict. It's nicer when these strings are not used only on service page. Part of: https://fedorahosted.org/freeipa/ticket/5872 Reviewed-By: Petr Vobornik --- install/ui/src/freeipa/host.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'install/ui/src') diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js index 677da96f2..ba8d0f2a5 100644 --- a/install/ui/src/freeipa/host.js +++ b/install/ui/src/freeipa/host.js @@ -108,6 +108,26 @@ return { name: 'macaddress', flags: ['w_if_no_aci'] }, + { + $type: 'custom_checkboxes', + label: '@i18n:authtype.auth_indicators', + name: 'krbprincipalauthind', + add_dialog_title: '@i18n:authtype.custom_auth_ind_title', + add_field_label: '@i18n:authtype.auth_indicator', + options: [ + { + label: '@i18n:authtype.otp', + value: 'otp' + }, + { + label: '@i18n:authtype.type_radius', + value: 'radius' + } + ], + tooltip: { + title: '@mc-opt:host_add:krbprincipalauthind:doc' + } + }, { name: 'ipakrbokasdelegate', $type: 'checkbox', -- cgit