Hi,
The message and buttons in the unprovision dialog box have been
updated according to the latest spec.
--
Endi S. Dewata
From e0e62d8c324ce2e91cbed59a4559c31eb7379f61 Mon Sep 17 00:00:00 2001
From: Endi S. Dewata edew...@redhat.com
Date: Tue, 18 Jan 2011 14:29:59 +0700
Subject: [PATCH] Unprovision message and buttons adjustments.
The message and buttons in the unprovision dialog box have been
updated according to the latest spec.
---
install/static/host.js|8 ++--
install/static/service.js |8 ++--
2 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/install/static/host.js b/install/static/host.js
index 9751abbe84ef8f26d2c9e32f2024e78ef431a6e9..e3ed5e50a8801f75e0bdd94bc316e721a99f5de8 100644
--- a/install/static/host.js
+++ b/install/static/host.js
@@ -322,8 +322,8 @@ function host_provisioning_status_widget(spec) {
dialog.create = function() {
dialog.container.append(
-'To confirm your intention to unprovision this host, '+
-'click the Unprovision button.');
+'Are you sure you want to unprovision this host?'
+);
};
dialog.add_button('Unprovision', function() {
@@ -338,10 +338,6 @@ function host_provisioning_status_widget(spec) {
);
});
-dialog.add_button('Cancel', function() {
-dialog.close();
-});
-
dialog.init();
dialog.open(that.container);
diff --git a/install/static/service.js b/install/static/service.js
index fb99b74d55c1764b33156e3f70298d131ddc45fb..50cd80784073032f6f054720e0fbcaa8e6638c6e 100644
--- a/install/static/service.js
+++ b/install/static/service.js
@@ -343,8 +343,8 @@ function service_provisioning_status_widget(spec) {
dialog.create = function() {
dialog.container.append(
-'To confirm your intention to unprovision this service, '+
-'click the Unprovision button.');
+'Are you sure you want to unprovision this service?'
+);
};
dialog.add_button('Unprovision', function() {
@@ -360,10 +360,6 @@ function service_provisioning_status_widget(spec) {
);
});
-dialog.add_button('Cancel', function() {
-dialog.close();
-});
-
dialog.init();
dialog.open(that.container);
--
1.6.6.1
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel