Skip to content

Commit

Permalink
Reconfigure empty state wording to align with patternfly
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenBW committed Dec 5, 2017
1 parent a39f37e commit ed8ce3c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ function ComponentController ($state, $stateParams, VmsService, lodash, EventNot
}
},
genInfo: {
'info': 'No Information Available'
'info': 'No data available'
},
provInfo: {
'info': ['No Information Available']
'info': ['No data available']
},
compliance: {
'title': 'Compliance',
Expand Down Expand Up @@ -90,7 +90,7 @@ function ComponentController ($state, $stateParams, VmsService, lodash, EventNot
}
]
},
emptyState: {icon: 'pficon pficon-help', title: 'No Information Available'}
emptyState: {icon: 'pficon pficon-help', title: 'No data available'}
})
vm.today = new Date()
vm.presentDate = new Date()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function ComponentController ($stateParams, $state, $window, CollectionsApi, Eve
availableTags: [],
credential: {},
listActions: [],
emptyState: {icon: 'pficon pficon-help', title: 'No Information Available'},
emptyState: {icon: 'pficon pficon-help', title: 'No data available'},
// Functions
hasCustomButtons: hasCustomButtons,
disableStopButton: disableStopButton,
Expand Down
4 changes: 2 additions & 2 deletions client/app/services/service-details/service-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ <h2 translate>Resources</h2>
<div class="panel-body">
<section>
<h2 translate>Relationships</h2>
<pf-empty-state ng-if="!vm.service.parent_service || !vm.service.service_template" config="vm.emptyState"></pf-empty-state>
<pf-empty-state ng-if="!vm.service.parent_service && !vm.service.service_template" config="vm.emptyState"></pf-empty-state>

<div class="container-fluid" ng-if="vm.service.parent_service || vm.service.service_template" >
<div class="row" ng-if="vm.service.parent_service">
Expand All @@ -383,7 +383,7 @@ <h2 translate>Relationships</h2>
<span>{{vm.service.parent_service.description}}</span>
</div>
</div>
<div class="row">
<div class="row" ng-if="vm.service.service_template">
<div class="col-sm-4">
<a href="#" ng-click="vm.gotoCatalogItem()">{{vm.service.service_template.name}}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/app/services/usage-graphs/usage-graphs.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function ComponentController () {
cpuDataExists: false,
memoryDataExists: false,
storageDataExists: false,
emptyState: {icon: 'pficon pficon-help', title: __('No Information Available')}
emptyState: {icon: 'pficon pficon-help', title: __('No data available')}
})

if (vm.cpuChart.data.total > 0) {
Expand Down

0 comments on commit ed8ce3c

Please sign in to comment.