@@ -5558,7 +5558,6 @@ selectedTab:A,
5558
5558
projectName:o,
5559
5559
alerts:{},
5560
5560
forms:{},
5561
- emptyMessage:"Loading...",
5562
5561
subjectKinds:B,
5563
5562
newBinding:{
5564
5563
role:"",
@@ -6036,7 +6035,7 @@ title:b.imagestream,
6036
6035
link:"project/" + b.project + "/browse/images/" + b.imagestream
6037
6036
}, {
6038
6037
title:":" + b.tag
6039
- } ], a.emptyMessage = "Loading..." ;
6038
+ } ];
6040
6039
var i = [], j = _.debounce(function(d, f) {
6041
6040
var h = b.imagestream + ":" + b.tag;
6042
6041
c.get("imagestreamtags", h, f).then(function(b) {
@@ -6049,7 +6048,7 @@ details:"Reason: " + e("getErrorDetails")(b)
6049
6048
};
6050
6049
});
6051
6050
}, 200), k = function(b, c, d) {
6052
- h(b, c), a.emptyMessage = "", "DELETED" === d && (a.alerts.deleted = {
6051
+ h(b, c), "DELETED" === d && (a.alerts.deleted = {
6053
6052
type:"warning",
6054
6053
message:"This image stream has been deleted."
6055
6054
});
@@ -6194,7 +6193,7 @@ title:"Deployments",
6194
6193
link:"project/" + c.project + "/browse/deployments"
6195
6194
}, {
6196
6195
title:c.deployment
6197
- } ], a.emptyMessage = "Loading...", a. healthCheckURL = k.healthCheckURL(c.project, "Deployment", c.deployment, "extensions"), d.getAlerts().forEach(function(b) {
6196
+ } ], a.healthCheckURL = k.healthCheckURL(c.project, "Deployment", c.deployment, "extensions"), d.getAlerts().forEach(function(b) {
6198
6197
a.alerts[b.name] = b.data;
6199
6198
}), d.clearAlerts();
6200
6199
var p = !1, q = function(b, c) {
@@ -6727,7 +6726,7 @@ kind:s,
6727
6726
namespace:c.project
6728
6727
});
6729
6728
}), x.push(g.watch(a.resource, i, function(c, d, e) {
6730
- a.replicaSets = c.by("metadata.name"), a.emptyMessage = "No deployments to show", "ReplicationController" === s && (a.deploymentsByDeploymentConfig = h.associateDeploymentsToDeploymentConfig(a.replicaSets));
6729
+ a.replicaSets = c.by("metadata.name"), "ReplicationController" === s && (a.deploymentsByDeploymentConfig = h.associateDeploymentsToDeploymentConfig(a.replicaSets));
6731
6730
var f, g;
6732
6731
e && (f = u(e, "deploymentConfig"), g = e.metadata.name), a.deploymentConfigDeploymentsInProgress = a.deploymentConfigDeploymentsInProgress || {}, d ? "ADDED" === d || "MODIFIED" === d && b("deploymentIsInProgress")(e) ? (a.deploymentConfigDeploymentsInProgress[f] = a.deploymentConfigDeploymentsInProgress[f] || {}, a.deploymentConfigDeploymentsInProgress[f][g] = e) :"MODIFIED" === d && a.deploymentConfigDeploymentsInProgress[f] && delete a.deploymentConfigDeploymentsInProgress[f][g] :a.deploymentConfigDeploymentsInProgress = h.associateRunningDeploymentToDeploymentConfig(a.deploymentsByDeploymentConfig), e ? "DELETED" !== d && (e.causes = b("deploymentCauses")(e)) :angular.forEach(a.replicaSets, function(a) {
6733
6732
a.causes = b("deploymentCauses")(a);
@@ -6794,7 +6793,7 @@ g.unwatchAll(x);
6794
6793
});
6795
6794
}));
6796
6795
} ]), angular.module("openshiftConsole").controller("StatefulSetsController", [ "$scope", "$routeParams", "AlertMessageService", "DataService", "ProjectsService", "LabelFilter", "LabelsService", function(a, b, c, d, e, f, g) {
6797
- a.projectName = b.project, a.alerts = a.alerts || {}, a.labelSuggestions = {}, a.emptyMessage = "Loading...", c.getAlerts().forEach(function(b) {
6796
+ a.projectName = b.project, a.alerts = a.alerts || {}, a.labelSuggestions = {}, c.getAlerts().forEach(function(b) {
6798
6797
a.alerts[b.name] = b.data;
6799
6798
}), c.clearAlerts();
6800
6799
var h = [];
@@ -6831,7 +6830,7 @@ b.projectName = c.project, b.statefulSetName = c.statefulset, b.forms = {}, b.al
6831
6830
name:b.statefulSetName,
6832
6831
kind:"StatefulSet",
6833
6832
namespace:c.project
6834
- }), b.emptyMessage = "Loading..." ;
6833
+ });
6835
6834
var j = function(a) {
6836
6835
return g.copyAndNormalize(a);
6837
6836
};
@@ -6963,7 +6962,7 @@ b.secretsByType = f.groupSecretsByType(a), b.loaded = !0;
6963
6962
} ]), angular.module("openshiftConsole").controller("SecretController", [ "$routeParams", "$filter", "$scope", "AlertMessageService", "DataService", "ProjectsService", "SecretsService", function(a, b, c, d, e, f, g) {
6964
6963
c.projectName = a.project, c.secretName = a.secret, c.view = {
6965
6964
showSecret:!1
6966
- }, c.alerts = c.alerts || {}, c.emptyMessage = "Loading...", c. breadcrumbs = [ {
6965
+ }, c.alerts = c.alerts || {}, c.breadcrumbs = [ {
6967
6966
title:"Secrets",
6968
6967
link:"project/" + a.project + "/browse/secrets"
6969
6968
}, {
@@ -8338,7 +8337,7 @@ details:c
8338
8337
};
8339
8338
g.get(d.project).then(_.spread(function(e, g) {
8340
8339
function q(b) {
8341
- b.emptyMessage = "Loading...", b. name = d.name, b.imageName = y, b.imageTag = d.imageTag, b.namespace = d.namespace, b.buildConfig = {
8340
+ b.name = d.name, b.imageName = y, b.imageTag = d.imageTag, b.namespace = d.namespace, b.buildConfig = {
8342
8341
buildOnSourceChange:!0,
8343
8342
buildOnImageChange:!0,
8344
8343
buildOnConfigChange:!0,
@@ -8517,7 +8516,7 @@ f.then(j, j).then(J, J);
8517
8516
}));
8518
8517
} ]), angular.module("openshiftConsole").controller("NextStepsController", [ "$scope", "$http", "$routeParams", "DataService", "$q", "$location", "ProcessedTemplateService", "TaskList", "$parse", "Navigate", "Logger", "$filter", "imageObjectRefFilter", "failureObjectNameFilter", "ProjectsService", function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) {
8519
8518
var p = (l("displayName"), []);
8520
- a.emptyMessage = "Loading...", a. alerts = [], a.loginBaseUrl = d.openshiftAPIBaseUrl(), a.buildConfigs = {}, a.showParamsTable = !1, a.projectName = c.project, a.fromSampleRepo = c.fromSample, a.breadcrumbs = [ {
8519
+ a.alerts = [], a.loginBaseUrl = d.openshiftAPIBaseUrl(), a.buildConfigs = {}, a.showParamsTable = !1, a.projectName = c.project, a.fromSampleRepo = c.fromSample, a.breadcrumbs = [ {
8521
8520
title:a.projectName,
8522
8521
link:"project/" + a.projectName
8523
8522
}, {
@@ -8566,7 +8565,7 @@ d.unwatchAll(p);
8566
8565
} ]), angular.module("openshiftConsole").controller("NewFromTemplateController", [ "$scope", "$http", "$routeParams", "DataService", "ProcessedTemplateService", "AlertMessageService", "ProjectsService", "QuotaService", "$q", "$location", "TaskList", "$parse", "Navigate", "$filter", "$uibModal", "imageObjectRefFilter", "failureObjectNameFilter", "CachedTemplateService", "keyValueEditorUtils", "Constants", function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) {
8567
8566
var u = c.template, v = c.namespace || "";
8568
8567
if (!u) return void m.toErrorPage("Cannot create from template: a template name was not specified.");
8569
- a.emptyMessage = "Loading...", a. alerts = {}, a.quotaAlerts = {}, a.projectName = c.project, a.projectPromise = $.Deferred(), a.labels = [], a.systemLabels = [], a.breadcrumbs = [ {
8568
+ a.alerts = {}, a.quotaAlerts = {}, a.projectName = c.project, a.projectPromise = $.Deferred(), a.labels = [], a.systemLabels = [], a.breadcrumbs = [ {
8570
8569
title:a.projectName,
8571
8570
link:"project/" + a.projectName
8572
8571
}, {
@@ -10999,7 +10998,6 @@ routes:"=",
10999
10998
services:"=",
11000
10999
portsByRoute:"=",
11001
11000
showNodePorts:"=?",
11002
- emptyMessage:"=?",
11003
11001
customNameHeader:"=?"
11004
11002
},
11005
11003
templateUrl:"views/directives/traffic-table.html"
0 commit comments