Merge "UI changes for partially_deployed cluster status"

This commit is contained in:
Jenkins 2016-03-01 15:01:03 +00:00 committed by Gerrit Code Review
commit c9aadde6ee
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' />