Skip to content

Commit

Permalink
Merge pull request #3202 from mzazrivec/add_missing_gettext_into_cont…
Browse files Browse the repository at this point in the history
…ainer_project_dashboard_controller_js

Add missing gettext into containerProjectDashboardController
  • Loading branch information
himdel authored Jan 11, 2018
2 parents 14f82da + 2d88672 commit deb4d80
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ ManageIQ.angular.app.controller('containerProjectDashboardController', ['$scope'

$scope.cpuUsageConfig = chartsMixin.chartConfig.cpuUsageConfig;
$scope.cpuUsageConfig.layout = 'compact';
$scope.cpuUsageConfig.title = 'CPU Utilization';
$scope.cpuUsageConfig.title = __('CPU Utilization');

$scope.memoryUsageConfig = chartsMixin.chartConfig.memoryUsageConfig;
$scope.memoryUsageConfig.layout = 'compact';
$scope.memoryUsageConfig.title = 'Memory Utilization';
$scope.memoryUsageConfig.title = __('Memory Utilization');

function getContainerDashboardData(response) {
'use strict';
Expand Down Expand Up @@ -64,7 +64,7 @@ ManageIQ.angular.app.controller('containerProjectDashboardController', ['$scope'
}

$scope.networkUtilizationConfig.layout = 'compact';
$scope.networkUtilizationConfig.title = 'Network Utilization';
$scope.networkUtilizationConfig.title = __('Network Utilization');

if (data.network_metrics.xy_data != null) {
data.network_metrics.xy_data.xData = data.network_metrics.xy_data.xData.map(function(date) {
Expand All @@ -81,7 +81,7 @@ ManageIQ.angular.app.controller('containerProjectDashboardController', ['$scope'
$scope.barChartLayoutInline = { 'type': 'inline' };
angular.forEach(data.quota, function(item) {
$scope.quotas.push({
'title': item.resource,
'title': __(item.resource),
'units': item.units,
'data': {
'used': item.quota_observed,
Expand Down

0 comments on commit deb4d80

Please sign in to comment.