mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge pull request #1477 from remibergsma/47_default_zone_name_s3
When no zone name is available display a defaultWhen a zone name is available, the previous behaviour is still there:  When there is no zone name, it used to display an empty name (where you had to click on to see details):  With this change, a default name `All` is displayed (because this happens when S3 storage is used that is region wide aka all zones):  Region wide S3:  FYI: Screenshot shows 'All', later renamed to 'All Zones', see code. * pr/1477: When no zone name is available display a default Signed-off-by: Will Stevens <williamstevens@gmail.com>
This commit is contained in:
commit
5a79c2b6f5
@ -1427,6 +1427,9 @@
|
||||
jsonObj.xenserverToolsVersion61plus = false;
|
||||
}
|
||||
}
|
||||
if (!'zonename' in jsonObj) {
|
||||
jsonObj.zonename = 'All Zones';
|
||||
}
|
||||
}
|
||||
|
||||
args.response.success({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user