From 7c99e2d6617a397e4f8f1185032e17b779245181 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 30 Jul 2012 15:12:07 +0200 Subject: Display group type Created new value_map_widget which serves for displaying values based on a map. It is added to group for displaying its type. The decision is based on group's objectclass. https://fedorahosted.org/freeipa/ticket/2895 --- install/ui/group.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'install/ui/group.js') diff --git a/install/ui/group.js b/install/ui/group.js index 769df0a8..7683bcb5 100644 --- a/install/ui/group.js +++ b/install/ui/group.js @@ -50,6 +50,17 @@ IPA.group.entity = function(spec) { type: 'textarea', name: 'description' }, + { + type: 'value_map', + name: 'external', + param: 'objectclass', + label: IPA.messages.objects.group.type, + default_label: IPA.messages.objects.group.normal, + value_map: { + ipaexternalgroup: IPA.messages.objects.group.external, + posixgroup: IPA.messages.objects.group.posix + } + }, 'gidnumber' ] } -- cgit