diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-12-06 13:51:49 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-12-06 20:09:38 -0500 |
commit | 95ea68a2175cc1bec0dbb901311e40f55b692c42 (patch) | |
tree | 774f26246ffdc803c082b5222bdfe1de7358aa21 /install/static/group.js | |
parent | 69e77212ea428f79742b9ff0452ef19d74cc76d4 (diff) | |
download | freeipa-95ea68a2175cc1bec0dbb901311e40f55b692c42.tar.gz freeipa-95ea68a2175cc1bec0dbb901311e40f55b692c42.tar.xz freeipa-95ea68a2175cc1bec0dbb901311e40f55b692c42.zip |
Column i18n
The ipa_column has been modified to get the label from metadata
during initialization. The ipa_table_widget has been modified to
initialize the columns. Hard-coded labels have been removed from
column declarations.
The ipa_adder_dialog has been modified to execute a search at the
end of setup.
Diffstat (limited to 'install/static/group.js')
-rw-r--r-- | install/static/group.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/install/static/group.js b/install/static/group.js index 8c2087f6..f3dba7b0 100644 --- a/install/static/group.js +++ b/install/static/group.js @@ -150,11 +150,10 @@ function ipa_group_member_user_facet(spec) { that.init = function() { - that.create_column({name: 'cn', label: 'Name'}); + that.create_column({name: 'cn'}); var column = that.create_column({ name: 'uid', - label: 'Login', primary_key: true }); @@ -179,20 +178,18 @@ function ipa_group_member_user_facet(spec) { }).appendTo(container); }; - that.create_column({name: 'uidnumber', label: 'UID'}); - that.create_column({name: 'mail', label: 'EMAIL'}); - that.create_column({name: 'telephonenumber', label: 'Phone'}); - that.create_column({name: 'title', label: 'Job Title'}); + that.create_column({name: 'uidnumber'}); + that.create_column({name: 'mail'}); + that.create_column({name: 'telephonenumber'}); + that.create_column({name: 'title'}); that.create_adder_column({ name: 'cn', - label: 'Name', width: '100px' }); that.create_adder_column({ name: 'uid', - label: 'Login', primary_key: true, width: '100px' }); |