CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - region dropdown on top 
menu - show "No data to show" instead of "(Default)" if there is zero region in 
cloudstack.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b932059d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b932059d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b932059d

Branch: refs/heads/scaleupvm
Commit: b932059d3372b0f9a17c9d5a805d25acd5e15257
Parents: abbc3b3
Author: Jessica Wang <[email protected]>
Authored: Fri Mar 22 11:46:08 2013 -0700
Committer: Jessica Wang <[email protected]>
Committed: Fri Mar 22 11:46:51 2013 -0700

----------------------------------------------------------------------
 ui/scripts/regions.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b932059d/ui/scripts/regions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/regions.js b/ui/scripts/regions.js
index 0959e3b..14346c8 100644
--- a/ui/scripts/regions.js
+++ b/ui/scripts/regions.js
@@ -27,7 +27,7 @@
 
             args.response.success({
               data: regions ? regions : [
-                { id: -1, name: '(Default)' }
+                { id: -1, name: _l('label.no.data') }
               ]
             });
           }

Reply via email to