summaryrefslogtreecommitdiffstats
path: root/install/static/service.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-12-06 13:51:49 -0600
committerAdam Young <ayoung@redhat.com>2010-12-06 20:09:38 -0500
commit95ea68a2175cc1bec0dbb901311e40f55b692c42 (patch)
tree774f26246ffdc803c082b5222bdfe1de7358aa21 /install/static/service.js
parent69e77212ea428f79742b9ff0452ef19d74cc76d4 (diff)
downloadfreeipa.git-95ea68a2175cc1bec0dbb901311e40f55b692c42.tar.gz
freeipa.git-95ea68a2175cc1bec0dbb901311e40f55b692c42.tar.xz
freeipa.git-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/service.js')
-rw-r--r--install/static/service.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/install/static/service.js b/install/static/service.js
index 3deea19b..c028eb6a 100644
--- a/install/static/service.js
+++ b/install/static/service.js
@@ -79,7 +79,7 @@ function ipa_service_add_dialog(spec) {
that.add_dialog_init();
that.add_field(ipa_widget({
- name: 'krbprincipalname',
+ name: 'krbprincipalname'
}));
that.add_field(ipa_text_widget({
@@ -183,12 +183,14 @@ function ipa_service_details_facet(spec) {
name: 'krbprincipalname'
});
+ // TODO: Replace with i18n label
section.create_field({
name: 'service',
label: 'Service',
load: service_service_load
});
+ // TODO: Replace with i18n label
section.create_field({
name: 'host',
label: 'Host Name',
@@ -403,7 +405,6 @@ function ipa_service_managedby_host_facet(spec) {
var column = that.create_column({
name: 'fqdn',
- label: 'Name',
primary_key: true
});
@@ -428,18 +429,16 @@ function ipa_service_managedby_host_facet(spec) {
}).appendTo(container);
};
- that.create_column({name: 'description', label: 'Description'});
+ that.create_column({name: 'description'});
that.create_adder_column({
name: 'fqdn',
- label: 'Name',
primary_key: true,
width: '100px'
});
that.create_adder_column({
name: 'description',
- label: 'Description',
width: '100px'
});