Replaced description text fields with text areas.

Ticket #1783
This commit is contained in:
Endi S. Dewata
2011-09-16 18:21:41 -05:00
parent 5cd121d6dd
commit 2b322a46a6
8 changed files with 251 additions and 77 deletions

View File

@@ -29,13 +29,27 @@ IPA.entity_factories.group = function () {
return IPA.entity_builder().
entity('group').
search_facet({
columns:['cn','gidnumber','description']
columns: [
'cn',
'gidnumber',
'description'
]
}).
details_facet({
sections: [
{
name: 'details',
fields: [
'cn',
{
factory: IPA.textarea_widget,
name: 'description'
},
'gidnumber'
]
}
]
}).
details_facet({sections:
[{
name:'details',
fields:['cn','description','gidnumber']
}]}).
association_facet({
name: 'member_user',
columns:[
@@ -90,14 +104,18 @@ IPA.entity_factories.group = function () {
adder_dialog({
fields: [
'cn',
'description',
{
factory: IPA.textarea_widget,
name: 'description'
},
{
factory: IPA.group_nonposix_checkbox_widget,
name: 'nonposix',
label: IPA.messages.objects.group.posix,
checked: true
},
'gidnumber']
'gidnumber'
]
}).
build();
};