From 5f95d402943fdaed136314f76c20a99866252f3f Mon Sep 17 00:00:00 2001 From: Kenji Ishii Date: Wed, 16 Nov 2016 10:56:32 +0900 Subject: [PATCH] Fix the issue that a wrong message is shown in ng-launch instance In some case like an api response is delaying, users may see the message "There are no Availability Zones" in Details tab. Because the request to get availability zones is not still finished. It makes user confuse. This patch distinguish whether there are no availability zones or just under requesting it and show users a proper message. This matter may occur not only above case but also other tabs. But at the moment, this patch is addressing only Details tab because this tab is first one to be shown to users. Change-Id: Iec1c18ced37b0c3a5f25a01975a8e2b0f2c1f335 Closes-Bug: #1642108 --- .../launch-instance/details/details.html | 9 ++++++-- .../launch-instance-model.service.js | 22 ++++++++++++++++++- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/details/details.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/details/details.html index 6740b67f6b..d5a49e6006 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/details/details.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/details/details.html @@ -21,10 +21,15 @@
+
+
+
+
+
There are no Availability Zones.
-