UI changes for partially_deployed cluster status

Related-bug: #1542201

Change-Id: I52b4c0db59088b6518a79292d9737be83732adca
This commit is contained in:
Kate Pimenova 2016-03-01 15:19:14 +03:00
parent 6599c82df5
commit 3caf308458
2 changed files with 3 additions and 1 deletions

View File

@ -92,6 +92,7 @@
"error": "Error",
"remove": "Removing",
"stopped": "Stopped",
"partially_deployed": "Partially Deployed",
"update": "Update",
"update_error": "Update Error"
}

View File

@ -398,7 +398,8 @@ export var DeployClusterDialog = React.createClass({
var cluster = this.props.cluster;
return (
<div className='display-changes-dialog'>
{!cluster.needsRedeployment() && _.contains(['new', 'stopped'], cluster.get('status')) &&
{!cluster.needsRedeployment() &&
_.contains(['new', 'stopped', 'partially_deployed'], cluster.get('status')) &&
<div>
<div className='text-warning'>
<i className='glyphicon glyphicon-warning-sign' />