Browse code

bump(github.com/openshift/origin-web-console): 076ed5a47ef7759362bd0418f291625689b1a68a

OpenShift Bot authored on 2016/12/15 00:45:59
Showing 1 changed files
... ...
@@ -7169,13 +7169,13 @@ namespace:c.project
7169 7169
 }), a.emptyMessage = "Loading...", a.healthCheckURL = k.healthCheckURL(c.project, "DeploymentConfig", c.deploymentconfig), d.getAlerts().forEach(function(b) {
7170 7170
 a.alerts[b.name] = b.data;
7171 7171
 }), d.clearAlerts();
7172
-var s = function(c) {
7172
+var s = b("orderObjectsByDate"), t = b("mostRecent"), u = function(c) {
7173 7173
 a.updatedDeploymentConfig = angular.copy(c), _.each(a.updatedDeploymentConfig.spec.template.spec.containers, function(a) {
7174 7174
 a.env = a.env || [], _.each(a.env, function(a) {
7175 7175
 b("altTextForValueFrom")(a);
7176 7176
 });
7177 7177
 });
7178
-}, t = [];
7178
+}, v = [];
7179 7179
 m.get(c.project).then(_.spread(function(d, e) {
7180 7180
 function k() {
7181 7181
 o.getLabelSelector().isEmpty() || !$.isEmptyObject(a.deployments) || $.isEmptyObject(a.unfilteredDeployments) ? delete a.alerts.deployments :a.alerts.deployments = {
... ...
@@ -7184,13 +7184,13 @@ details:"The active filters are hiding all deployments."
7184 7184
 };
7185 7185
 }
7186 7186
 a.project = d, a.projectContext = e;
7187
-var m = {}, u = function() {
7187
+var m = {}, w = function() {
7188 7188
 h.getHPAWarnings(a.deploymentConfig, a.autoscalers, m, d).then(function(b) {
7189 7189
 a.hpaWarnings = b;
7190 7190
 });
7191 7191
 };
7192 7192
 f.get("deploymentconfigs", c.deploymentconfig, e).then(function(d) {
7193
-a.loaded = !0, a.deploymentConfig = d, a.strategyParams = b("deploymentStrategyParams")(d), u(), s(d), a.saveEnvVars = function() {
7193
+a.loaded = !0, a.deploymentConfig = d, a.strategyParams = b("deploymentStrategyParams")(d), w(), u(d), a.saveEnvVars = function() {
7194 7194
 _.each(a.updatedDeploymentConfig.spec.template.spec.containers, function(a) {
7195 7195
 a.env = q.compactEntries(angular.copy(a.env));
7196 7196
 }), f.update("deploymentconfigs", c.deploymentconfig, angular.copy(a.updatedDeploymentConfig), e).then(function() {
... ...
@@ -7206,12 +7206,12 @@ details:"Reason: " + b("getErrorDetails")(c)
7206 7206
 };
7207 7207
 });
7208 7208
 }, a.clearEnvVarUpdates = function() {
7209
-s(a.deploymentConfig), a.forms.dcEnvVars.$setPristine();
7210
-}, t.push(f.watchObject("deploymentconfigs", c.deploymentconfig, e, function(b, c) {
7209
+u(a.deploymentConfig), a.forms.dcEnvVars.$setPristine();
7210
+}, v.push(f.watchObject("deploymentconfigs", c.deploymentconfig, e, function(b, c) {
7211 7211
 "DELETED" === c && (a.alerts.deleted = {
7212 7212
 type:"warning",
7213 7213
 message:"This deployment configuration has been deleted."
7214
-}), a.deploymentConfig = b, a.updatingPausedState = !1, !a.forms.dcEnvVars || a.forms.dcEnvVars.$pristine ? s(b) :a.alerts.background_update = {
7214
+}), a.deploymentConfig = b, a.updatingPausedState = !1, !a.forms.dcEnvVars || a.forms.dcEnvVars.$pristine ? u(b) :a.alerts.background_update = {
7215 7215
 type:"warning",
7216 7216
 message:"This deployment configuration has been updated in the background. Saving your changes may create a conflict or cause loss of data.",
7217 7217
 links:[ {
... ...
@@ -7220,7 +7220,7 @@ onClick:function() {
7220 7220
 return a.clearEnvVarUpdates(), !0;
7221 7221
 }
7222 7222
 } ]
7223
-}, u(), i.fetchReferencedImageStreamImages([ b.spec.template ], a.imagesByDockerReference, r, e);
7223
+}, w(), i.fetchReferencedImageStreamImages([ b.spec.template ], a.imagesByDockerReference, r, e);
7224 7224
 }));
7225 7225
 }, function(c) {
7226 7226
 a.loaded = !0, a.alerts.load = {
... ...
@@ -7228,7 +7228,7 @@ type:"error",
7228 7228
 message:404 === c.status ? "This deployment configuration can not be found, it may have been deleted." :"The deployment configuration details could not be loaded.",
7229 7229
 details:404 === c.status ? "Any remaining deployment history for this deployment will be shown." :"Reason: " + b("getErrorDetails")(c)
7230 7230
 };
7231
-}), t.push(f.watch("replicationcontrollers", e, function(d, e, f) {
7231
+}), v.push(f.watch("replicationcontrollers", e, function(d, e, f) {
7232 7232
 var h = c.deploymentconfig;
7233 7233
 if (a.emptyMessage = "No deployments to show", e) {
7234 7234
 if (g.deploymentBelongsToConfig(f, c.deploymentconfig)) {
... ...
@@ -7249,7 +7249,7 @@ a.unfilteredDeployments = j[c.deploymentconfig] || {}, angular.forEach(a.unfilte
7249 7249
 a.causes = b("deploymentCauses")(a);
7250 7250
 }), a.deploymentConfigDeploymentsInProgress = g.associateRunningDeploymentToDeploymentConfig(j);
7251 7251
 }
7252
-a.deployments = o.getLabelSelector().select(a.unfilteredDeployments), a.deploymentInProgress = !!_.size(a.deploymentConfigDeploymentsInProgress[h]), k(), o.addLabelSuggestionsFromResources(a.unfilteredDeployments, a.labelSuggestions), o.setLabelSuggestions(a.labelSuggestions);
7252
+a.deployments = o.getLabelSelector().select(a.unfilteredDeployments), a.orderedDeployments = s(a.deployments, !0), a.deploymentInProgress = !!_.size(a.deploymentConfigDeploymentsInProgress[h]), a.mostRecent = t(a.unfilteredDeployments), k(), o.addLabelSuggestionsFromResources(a.unfilteredDeployments, a.labelSuggestions), o.setLabelSuggestions(a.labelSuggestions);
7253 7253
 }, {
7254 7254
 http:{
7255 7255
 params:{
... ...
@@ -7257,20 +7257,20 @@ labelSelector:p("deploymentConfig") + "=" + a.deploymentConfigName
7257 7257
 }
7258 7258
 }
7259 7259
 })), f.list("limitranges", e, function(a) {
7260
-m = a.by("metadata.name"), u();
7261
-}), t.push(f.watch("imagestreams", e, function(b) {
7260
+m = a.by("metadata.name"), w();
7261
+}), v.push(f.watch("imagestreams", e, function(b) {
7262 7262
 var c = b.by("metadata.name");
7263 7263
 i.buildDockerRefMapForImageStreams(c, r), a.deploymentConfig && i.fetchReferencedImageStreamImages([ a.deploymentConfig.spec.template ], a.imagesByDockerReference, r, e), l.log("imagestreams (subscribe)", a.imageStreams);
7264
-})), t.push(f.watch("builds", e, function(b) {
7264
+})), v.push(f.watch("builds", e, function(b) {
7265 7265
 a.builds = b.by("metadata.name"), l.log("builds (subscribe)", a.builds);
7266
-})), t.push(f.watch({
7266
+})), v.push(f.watch({
7267 7267
 group:"extensions",
7268 7268
 resource:"horizontalpodautoscalers"
7269 7269
 }, e, function(b) {
7270
-a.autoscalers = h.filterHPA(b.by("metadata.name"), "DeploymentConfig", c.deploymentconfig), u();
7270
+a.autoscalers = h.filterHPA(b.by("metadata.name"), "DeploymentConfig", c.deploymentconfig), w();
7271 7271
 })), o.onActiveFiltersChanged(function(b) {
7272 7272
 a.$apply(function() {
7273
-a.deployments = b.select(a.unfilteredDeployments), k();
7273
+a.deployments = b.select(a.unfilteredDeployments), a.orderedDeployments = s(a.deployments, !0), k();
7274 7274
 });
7275 7275
 }), a.canDeploy = function() {
7276 7276
 return !!a.deploymentConfig && (!a.deploymentConfig.metadata.deletionTimestamp && (!a.deploymentInProgress && !a.deploymentConfig.spec.paused));
... ...
@@ -7294,7 +7294,7 @@ details:b("getErrorDetails")(d)
7294 7294
 };
7295 7295
 });
7296 7296
 };
7297
-var v = function() {
7297
+var x = function() {
7298 7298
 if (_.get(a, "deploymentConfig.spec.paused")) return !1;
7299 7299
 var b = _.get(a, "deploymentConfig.spec.triggers", []);
7300 7300
 return _.some(b, {
... ...
@@ -7303,7 +7303,7 @@ type:"ConfigChange"
7303 7303
 };
7304 7304
 a.removeVolume = function(c) {
7305 7305
 var d;
7306
-d = v() ? "This will remove the volume from the deployment config and trigger a new deployment." :"This will remove the volume from the deployment config.", c.persistentVolumeClaim ? d += " It will not delete the persistent volume claim." :c.secret ? d += " It will not delete the secret." :c.configMap && (d += " It will not delete the config map.");
7306
+d = x() ? "This will remove the volume from the deployment config and trigger a new deployment." :"This will remove the volume from the deployment config.", c.persistentVolumeClaim ? d += " It will not delete the persistent volume claim." :c.secret ? d += " It will not delete the secret." :c.configMap && (d += " It will not delete the config map.");
7307 7307
 var f = j.confirm({
7308 7308
 message:"Remove volume " + c.name + "?",
7309 7309
 details:d,
... ...
@@ -7321,7 +7321,7 @@ n.removeVolume(a.deploymentConfig, c, e).then(_.noop, g);
7321 7321
 };
7322 7322
 f.then(h);
7323 7323
 }, a.$on("$destroy", function() {
7324
-f.unwatchAll(t);
7324
+f.unwatchAll(v);
7325 7325
 });
7326 7326
 }));
7327 7327
 } ]), angular.module("openshiftConsole").controller("ReplicaSetController", [ "$scope", "$filter", "$routeParams", "AlertMessageService", "AuthorizationService", "BreadcrumbsService", "DataService", "DeploymentsService", "HPAService", "ImageStreamResolver", "Logger", "MetricsService", "ModalsService", "Navigate", "ProjectsService", "StorageService", "keyValueEditorUtils", "kind", function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) {
... ...
@@ -17621,8 +17621,8 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
17621 17621
     "<div class=\"row\" ng-if=\"loaded\">\n" +
17622 17622
     "<div class=\"col-md-12\" ng-class=\"{ 'hide-tabs' : !buildConfig }\">\n" +
17623 17623
     "<uib-tabset>\n" +
17624
-    "<uib-tab active=\"selectedTab.summary\">\n" +
17625
-    "<uib-tab-heading>Summary</uib-tab-heading>\n" +
17624
+    "<uib-tab active=\"selectedTab.history\">\n" +
17625
+    "<uib-tab-heading>History</uib-tab-heading>\n" +
17626 17626
     "\n" +
17627 17627
     "<div ng-if=\"!unfilteredBuilds\" class=\"gutter-bottom\">Loading...</div>\n" +
17628 17628
     "\n" +
... ...
@@ -17670,14 +17670,13 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
17670 17670
     "\n" +
17671 17671
     "<div ng-if=\"builds && (builds | hashSize) > 0\" class=\"build-config-summary\">\n" +
17672 17672
     "\n" +
17673
-    "<div class=\"h3\" style=\"margin-bottom: 0\">\n" +
17674
-    "<span class=\"latest-build-status\">\n" +
17675
-    "<status-icon status=\"latestBuild.status.phase\" style=\"margin-right: 5px\"></status-icon>\n" +
17676
-    "Latest build\n" +
17673
+    "<div class=\"h3\">\n" +
17674
+    "<span class=\"last-status\">\n" +
17675
+    "<status-icon status=\"latestBuild.status.phase\"></status-icon>\n" +
17676
+    "Build\n" +
17677 17677
     "\n" +
17678 17678
     "<a ng-href=\"{{latestBuild | navigateResourceURL}}\"><span ng-if=\"latestBuild | annotation : 'buildNumber'\">#{{latestBuild | annotation : 'buildNumber'}}</span><span ng-if=\"!(latestBuild | annotation : 'buildNumber')\">{{latestBuild.metadata.name}}</span></a>\n" +
17679 17679
     "<span ng-switch=\"latestBuild.status.phase\" class=\"hide-ng-leave\">\n" +
17680
-    "<span ng-switch-when=\"Complete\">complete.</span>\n" +
17681 17680
     "<span ng-switch-when=\"Failed\">failed.</span>\n" +
17682 17681
     "<span ng-switch-when=\"Error\">encountered an error.</span>\n" +
17683 17682
     "<span ng-switch-when=\"Cancelled\">was cancelled.</span>\n" +
... ...
@@ -17695,7 +17694,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
17695 17695
     "</span>\n" +
17696 17696
     "</span>\n" +
17697 17697
     "</div>\n" +
17698
-    "<div class=\"latest-build-timestamp meta text-muted\">\n" +
17698
+    "<div class=\"last-timestamp meta text-muted\">\n" +
17699 17699
     "<span ng-if=\"!latestBuild.status.startTimestamp\">\n" +
17700 17700
     "created <span am-time-ago=\"latestBuild.metadata.creationTimestamp\"></span>\n" +
17701 17701
     "</span>\n" +
... ...
@@ -17762,6 +17761,8 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
17762 17762
     "<div class=\"resource-details\">\n" +
17763 17763
     "<div class=\"row\">\n" +
17764 17764
     "<div class=\"col-lg-6\">\n" +
17765
+    "\n" +
17766
+    "<h3 class=\"hidden visible-lg visible-xl\">Details</h3>\n" +
17765 17767
     "<dl class=\"dl-horizontal left\">\n" +
17766 17768
     "<div>\n" +
17767 17769
     "<dt>Build Strategy:</dt>\n" +
... ...
@@ -18322,12 +18323,90 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18322 18322
     "</span>\n" +
18323 18323
     "</div>\n" +
18324 18324
     "<uib-tabset>\n" +
18325
-    "<uib-tab active=\"selectedTab.details\">\n" +
18326
-    "<uib-tab-heading>Details</uib-tab-heading>\n" +
18325
+    "<uib-tab active=\"selectedTab.history\">\n" +
18326
+    "<uib-tab-heading>History</uib-tab-heading>\n" +
18327
+    "<div ng-if=\"mostRecent\" class=\"deployment-config-summary\">\n" +
18328
+    "\n" +
18329
+    "<div class=\"h3\">\n" +
18330
+    "<span class=\"latest-status\">\n" +
18331
+    "<status-icon status=\"mostRecent | deploymentStatus\"></status-icon>\n" +
18332
+    "Deployment\n" +
18333
+    "\n" +
18334
+    "<a ng-href=\"{{mostRecent | navigateResourceURL}}\"><span ng-if=\"mostRecent | annotation : 'deploymentVersion'\">#{{mostRecent | annotation : 'deploymentVersion'}}</span><span ng-if=\"!(mostRecent | annotation : 'deploymentVersion')\">{{mostRecent.metadata.name}}</span></a>\n" +
18335
+    "<span ng-if=\"(mostRecent | deploymentStatus) !== 'Failed'\">is</span>\n" +
18336
+    "{{mostRecent | deploymentStatus | lowercase}}.\n" +
18337
+    "<a ng-href=\"{{mostRecent | navigateResourceURL}}?tab=logs\">View Log</a>\n" +
18338
+    "</span>\n" +
18339
+    "\n" +
18340
+    "</div>\n" +
18341
+    "<div class=\"last-timestamp meta text-muted\">\n" +
18342
+    "created <span am-time-ago=\"mostRecent.metadata.creationTimestamp\"></span>\n" +
18343
+    "</div>\n" +
18344
+    "</div>\n" +
18345
+    "<div class=\"table-filter-wrapper\">\n" +
18346
+    "<project-filter></project-filter>\n" +
18347
+    "</div>\n" +
18348
+    "<table class=\"table table-bordered table-hover table-mobile\">\n" +
18349
+    "<thead>\n" +
18350
+    "<tr>\n" +
18351
+    "<th>Deployment</th>\n" +
18352
+    "<th>Status</th>\n" +
18353
+    "<th>Created</th>\n" +
18354
+    "<th>Trigger</th>\n" +
18355
+    "</tr>\n" +
18356
+    "</thead>\n" +
18357
+    "<tbody ng-if=\"(deployments | hashSize) == 0\">\n" +
18358
+    "<tr><td colspan=\"4\"><em>{{emptyMessage}}</em></td></tr>\n" +
18359
+    "</tbody>\n" +
18360
+    "<tbody ng-repeat=\"deployment in orderedDeployments\">\n" +
18361
+    "<tr>\n" +
18362
+    "<td data-title=\"Deployment\">\n" +
18363
+    "\n" +
18364
+    "<span ng-if=\"deployment | annotation : 'deploymentVersion'\">\n" +
18365
+    "<a ng-href=\"{{deployment | navigateResourceURL}}\">#{{deployment | annotation : 'deploymentVersion'}}</a>\n" +
18366
+    "<span ng-if=\"deploymentConfig.status.latestVersion == (deployment | annotation : 'deploymentVersion')\">(latest)</span>\n" +
18367
+    "</span>\n" +
18368
+    "</td>\n" +
18369
+    "<td data-title=\"Status\">\n" +
18370
+    "<div row class=\"status\">\n" +
18371
+    "<status-icon status=\"deployment | deploymentStatus\" disable-animation fixed-width=\"true\"></status-icon>\n" +
18372
+    "<span flex>\n" +
18373
+    "{{deployment | deploymentStatus}}<span ng-if=\"(deployment | deploymentStatus) == 'Active' || (deployment | deploymentStatus) == 'Running'\">,\n" +
18374
+    "<span ng-if=\"deployment.spec.replicas !== deployment.status.replicas\">{{deployment.status.replicas}}/</span>{{deployment.spec.replicas}} replica<span ng-if=\"deployment.spec.replicas != 1\">s</span></span>\n" +
18375
+    "</span>\n" +
18376
+    "\n" +
18377
+    "</div>\n" +
18378
+    "</td>\n" +
18379
+    "<td data-title=\"Created\">\n" +
18380
+    "<span am-time-ago=\"deployment.metadata.creationTimestamp\"></span>\n" +
18381
+    "</td>\n" +
18382
+    "<td data-title=\"Trigger\">\n" +
18383
+    "<span ng-if=\"!deployment.causes.length\">Unknown</span>\n" +
18384
+    "<span ng-if=\"deployment.causes.length\">\n" +
18385
+    "<span ng-repeat=\"cause in deployment.causes\">\n" +
18386
+    "<span ng-switch=\"cause.type\">\n" +
18387
+    "<span ng-switch-when=\"ImageChange\">\n" +
18388
+    "<span ng-if=\"cause.imageTrigger.from\">\n" +
18389
+    "<abbr title=\"{{cause.imageTrigger.from | imageObjectRef : null : true}}\">Image</abbr> change\n" +
18390
+    "</span>\n" +
18391
+    "</span>\n" +
18392
+    "<span ng-switch-when=\"ConfigChange\">Config change</span>\n" +
18393
+    "<span ng-switch-default>{{cause.type}}</span>\n" +
18394
+    "</span>\n" +
18395
+    "</span>\n" +
18396
+    "</span>\n" +
18397
+    "</td>\n" +
18398
+    "</tr>\n" +
18399
+    "</tbody>\n" +
18400
+    "</table>\n" +
18401
+    "</uib-tab>\n" +
18402
+    "<uib-tab active=\"selectedTab.configuration\">\n" +
18403
+    "<uib-tab-heading>Configuration</uib-tab-heading>\n" +
18327 18404
     "<div class=\"resource-details\" ng-if=\"deploymentConfig\">\n" +
18328 18405
     "<div class=\"row\">\n" +
18329 18406
     "<div class=\"col-lg-6\">\n" +
18330
-    "<h3>Configuration</h3>\n" +
18407
+    "\n" +
18408
+    "<h3 class=\"hidden visible-lg visible-xl\">Details</h3>\n" +
18331 18409
     "<dl class=\"dl-horizontal left\">\n" +
18332 18410
     "<dt>Selectors:</dt>\n" +
18333 18411
     "<dd>\n" +
... ...
@@ -18443,64 +18522,6 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18443 18443
     "</div>\n" +
18444 18444
     "<annotations annotations=\"deploymentConfig.metadata.annotations\"></annotations>\n" +
18445 18445
     "</div>\n" +
18446
-    "<div ng-if=\"loaded\">\n" +
18447
-    "<div class=\"table-filter-wrapper\">\n" +
18448
-    "<project-filter></project-filter>\n" +
18449
-    "</div>\n" +
18450
-    "<table class=\"table table-bordered table-hover table-mobile\">\n" +
18451
-    "<thead>\n" +
18452
-    "<tr>\n" +
18453
-    "<th>Deployment</th>\n" +
18454
-    "<th>Status</th>\n" +
18455
-    "<th>Created</th>\n" +
18456
-    "<th>Trigger</th>\n" +
18457
-    "</tr>\n" +
18458
-    "</thead>\n" +
18459
-    "<tbody ng-if=\"(deployments | hashSize) == 0\">\n" +
18460
-    "<tr><td colspan=\"4\"><em>{{emptyMessage}}</em></td></tr>\n" +
18461
-    "</tbody>\n" +
18462
-    "<tbody ng-repeat=\"deployment in deployments | orderObjectsByDate : true\">\n" +
18463
-    "<tr>\n" +
18464
-    "<td data-title=\"Deployment\">\n" +
18465
-    "\n" +
18466
-    "<span ng-if=\"deployment | annotation : 'deploymentVersion'\">\n" +
18467
-    "<a ng-href=\"{{deployment | navigateResourceURL}}\">#{{deployment | annotation : 'deploymentVersion'}}</a>\n" +
18468
-    "<span ng-if=\"deploymentConfig.status.latestVersion == (deployment | annotation : 'deploymentVersion')\">(latest)</span>\n" +
18469
-    "</span>\n" +
18470
-    "</td>\n" +
18471
-    "<td data-title=\"Status\">\n" +
18472
-    "<div row class=\"status\">\n" +
18473
-    "<status-icon status=\"deployment | deploymentStatus\" disable-animation fixed-width=\"true\"></status-icon>\n" +
18474
-    "<span flex>\n" +
18475
-    "{{deployment | deploymentStatus}}<span ng-if=\"(deployment | deploymentStatus) == 'Active' || (deployment | deploymentStatus) == 'Running'\">,\n" +
18476
-    "<span ng-if=\"deployment.spec.replicas !== deployment.status.replicas\">{{deployment.status.replicas}}/</span>{{deployment.spec.replicas}} replica<span ng-if=\"deployment.spec.replicas != 1\">s</span></span>\n" +
18477
-    "</span>\n" +
18478
-    "\n" +
18479
-    "</div>\n" +
18480
-    "</td>\n" +
18481
-    "<td data-title=\"Created\">\n" +
18482
-    "<span am-time-ago=\"deployment.metadata.creationTimestamp\"></span>\n" +
18483
-    "</td>\n" +
18484
-    "<td data-title=\"Trigger\">\n" +
18485
-    "<span ng-if=\"!deployment.causes.length\">Unknown</span>\n" +
18486
-    "<span ng-if=\"deployment.causes.length\">\n" +
18487
-    "<span ng-repeat=\"cause in deployment.causes\">\n" +
18488
-    "<span ng-switch=\"cause.type\">\n" +
18489
-    "<span ng-switch-when=\"ImageChange\">\n" +
18490
-    "<span ng-if=\"cause.imageTrigger.from\">\n" +
18491
-    "<abbr title=\"{{cause.imageTrigger.from | imageObjectRef : null : true}}\">Image</abbr> change\n" +
18492
-    "</span>\n" +
18493
-    "</span>\n" +
18494
-    "<span ng-switch-when=\"ConfigChange\">Config change</span>\n" +
18495
-    "<span ng-switch-default>{{cause.type}}</span>\n" +
18496
-    "</span>\n" +
18497
-    "</span>\n" +
18498
-    "</span>\n" +
18499
-    "</td>\n" +
18500
-    "</tr>\n" +
18501
-    "</tbody>\n" +
18502
-    "</table>\n" +
18503
-    "</div>\n" +
18504 18446
     "</uib-tab>\n" +
18505 18447
     "<uib-tab heading=\"Environment\" active=\"selectedTab.environment\" ng-if=\"deploymentConfig\">\n" +
18506 18448
     "<uib-tab-heading>Environment</uib-tab-heading>\n" +
... ...
@@ -18594,10 +18615,6 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18594 18594
     "<div ng-if=\"!loaded\">Loading...</div>\n" +
18595 18595
     "<div class=\"row\" ng-if=\"loaded\">\n" +
18596 18596
     "<div class=\"col-md-12\" ng-class=\"{ 'hide-tabs' : !deployment }\">\n" +
18597
-    "<uib-tabset>\n" +
18598
-    "<uib-tab active=\"selectedTab.details\">\n" +
18599
-    "<uib-tab-heading>Details</uib-tab-heading>\n" +
18600
-    "<div class=\"resource-details\" ng-if=\"deployment\">\n" +
18601 18597
     "<div ng-if=\"deployment.spec.paused\" class=\"alert alert-info animate-if\">\n" +
18602 18598
     "<span class=\"pficon pficon-info\" aria-hidden=\"true\"></span>\n" +
18603 18599
     "<strong>{{deployment.metadata.name}} is paused.</strong>\n" +
... ...
@@ -18606,12 +18623,50 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18606 18606
     "<a href=\"\" ng-click=\"setPaused(false)\" role=\"button\">Resume deployment</a>\n" +
18607 18607
     "</span>\n" +
18608 18608
     "</div>\n" +
18609
+    "<uib-tabset>\n" +
18610
+    "<uib-tab active=\"selectedTab.history\">\n" +
18611
+    "<uib-tab-heading>History</uib-tab-heading>\n" +
18612
+    "<div ng-if=\"replicaSetsForDeployment | hashSize\">\n" +
18613
+    "<table class=\"table table-bordered table-hover table-mobile\">\n" +
18614
+    "<thead>\n" +
18615
+    "<tr>\n" +
18616
+    "<th>Version</th>\n" +
18617
+    "<th>Name</th>\n" +
18618
+    "<th>Replicas</th>\n" +
18619
+    "<th>Created</th>\n" +
18620
+    "</tr>\n" +
18621
+    "</thead>\n" +
18622
+    "<tbody ng-repeat=\"replicaSet in replicaSetsForDeployment\">\n" +
18623
+    "<tr>\n" +
18624
+    "<td data-title=\"Version\">\n" +
18625
+    "#{{replicaSet | annotation : 'deployment.kubernetes.io/revision'}}\n" +
18626
+    "</td>\n" +
18627
+    "<td data-title=\"Name\">\n" +
18628
+    "<a ng-href=\"{{replicaSet | navigateResourceURL}}\">{{replicaSet.metadata.name}}</a>\n" +
18629
+    "</td>\n" +
18630
+    "<td data-title=\"Replicas\">\n" +
18631
+    "<span ng-if=\"replicaSet.status.replicas !== replicaSet.spec.replicas\">{{replicaSet.status.replicas}}/</span>{{replicaSet.spec.replicas}} replica<span ng-if=\"replicaSet.spec.replicas != 1\">s</span>\n" +
18632
+    "</td>\n" +
18633
+    "<td data-title=\"Created\">\n" +
18634
+    "<span am-time-ago=\"replicaSet.metadata.creationTimestamp\"></span>\n" +
18635
+    "</td>\n" +
18636
+    "</tr>\n" +
18637
+    "</tbody>\n" +
18638
+    "</table>\n" +
18639
+    "</div>\n" +
18640
+    "</uib-tab>\n" +
18641
+    "<uib-tab active=\"selectedTab.configuration\">\n" +
18642
+    "<uib-tab-heading>Configuration</uib-tab-heading>\n" +
18643
+    "<div class=\"resource-details\" ng-if=\"deployment\">\n" +
18609 18644
     "<div class=\"row\">\n" +
18610 18645
     "<div class=\"col-lg-6\">\n" +
18611
-    "<h3>Status</h3>\n" +
18646
+    "\n" +
18647
+    "<h3 class=\"hidden visible-lg visible-xl\">Details</h3>\n" +
18612 18648
     "<dl class=\"dl-horizontal left\">\n" +
18613
-    "<dt>Last Version:</dt>\n" +
18614
-    "<dd>{{deployment | lastDeploymentRevision}}</dd>\n" +
18649
+    "<dt>Selectors:</dt>\n" +
18650
+    "<dd>\n" +
18651
+    "<selector selector=\"deployment.spec.selector\"></selector>\n" +
18652
+    "</dd>\n" +
18615 18653
     "<dt>Replicas:</dt>\n" +
18616 18654
     "<dd>\n" +
18617 18655
     "<replicas spec=\"deployment.spec.replicas\" disable-scaling=\"inProgressDeployment || autoscalers.length\" scale-fn=\"scale(replicas)\" deployment=\"deployment\"></replicas>\n" +
... ...
@@ -18624,15 +18679,6 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18624 18624
     "<span ng-if=\"deployment.status.unavailableReplicas\">{{deployment.status.unavailableReplicas}} unavailable</span>\n" +
18625 18625
     "</div>\n" +
18626 18626
     "</dd>\n" +
18627
-    "</dl>\n" +
18628
-    "</div>\n" +
18629
-    "<div class=\"col-lg-6\">\n" +
18630
-    "<h3>Configuration</h3>\n" +
18631
-    "<dl class=\"dl-horizontal left\">\n" +
18632
-    "<dt>Selectors:</dt>\n" +
18633
-    "<dd>\n" +
18634
-    "<selector selector=\"deployment.spec.selector\"></selector>\n" +
18635
-    "</dd>\n" +
18636 18627
     "<dt>Strategy:</dt>\n" +
18637 18628
     "<dd>{{deployment.spec.strategy.type | sentenceCase}}</dd>\n" +
18638 18629
     "<dt ng-if-start=\"deployment.spec.strategy.rollingUpdate\">\n" +
... ...
@@ -18663,14 +18709,12 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18663 18663
     "{{deployment.spec.minReadySeconds || 0}} sec\n" +
18664 18664
     "</dd>\n" +
18665 18665
     "</dl>\n" +
18666
-    "</div>\n" +
18667
-    "</div>\n" +
18668
-    "<div class=\"row\">\n" +
18669
-    "<div class=\"col-lg-6\">\n" +
18670 18666
     "<h3>Template</h3>\n" +
18671 18667
     "<pod-template pod-template=\"deployment.spec.template\" images-by-docker-reference=\"imagesByDockerReference\" builds=\"builds\" detailed=\"true\" add-health-check-url=\"{{ ({ group: 'extensions', resource: 'deployments' } | canI : 'update') ? healthCheckURL : '' }}\">\n" +
18672 18668
     "</pod-template>\n" +
18673
-    "<h4>Volumes</h4>\n" +
18669
+    "</div>\n" +
18670
+    "<div class=\"col-lg-6\">\n" +
18671
+    "<h3>Volumes</h3>\n" +
18674 18672
     "<p ng-if=\"!deployment.spec.template.spec.volumes.length && !({ group: 'extensions', resource: 'deployments' } | canI : 'update')\">\n" +
18675 18673
     "none\n" +
18676 18674
     "</p>\n" +
... ...
@@ -18681,8 +18725,6 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18681 18681
     "<span class=\"action-divider\" aria-hidden=\"true\">|</span>\n" +
18682 18682
     "<a ng-href=\"project/{{project.metadata.name}}/add-config-volume?kind=Deployment&name={{deployment.metadata.name}}&group=extensions\">Add Config Files</a>\n" +
18683 18683
     "</div>\n" +
18684
-    "</div>\n" +
18685
-    "<div class=\"col-lg-6\">\n" +
18686 18684
     "<h3>Autoscaling</h3>\n" +
18687 18685
     "\n" +
18688 18686
     "<div ng-repeat=\"warning in hpaWarnings\" class=\"alert alert-warning\">\n" +
... ...
@@ -18704,37 +18746,10 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
18704 18704
     "</div>\n" +
18705 18705
     "</div>\n" +
18706 18706
     "</div>\n" +
18707
-    "<div ng-if=\"replicaSetsForDeployment | hashSize\">\n" +
18708
-    "<h3>Replica Sets</h3>\n" +
18709
-    "<table class=\"table table-bordered table-hover table-mobile\">\n" +
18710
-    "<thead>\n" +
18711
-    "<tr>\n" +
18712
-    "<th>Version</th>\n" +
18713
-    "<th>Name</th>\n" +
18714
-    "<th>Replicas</th>\n" +
18715
-    "<th>Created</th>\n" +
18716
-    "</tr>\n" +
18717
-    "</thead>\n" +
18718
-    "<tbody ng-repeat=\"replicaSet in replicaSetsForDeployment\">\n" +
18719
-    "<tr>\n" +
18720
-    "<td data-title=\"Version\">\n" +
18721
-    "#{{replicaSet | annotation : 'deployment.kubernetes.io/revision'}}\n" +
18722
-    "</td>\n" +
18723
-    "<td data-title=\"Name\">\n" +
18724
-    "<a ng-href=\"{{replicaSet | navigateResourceURL}}\">{{replicaSet.metadata.name}}</a>\n" +
18725
-    "</td>\n" +
18726
-    "<td data-title=\"Replicas\">\n" +
18727
-    "<span ng-if=\"replicaSet.status.replicas !== replicaSet.spec.replicas\">{{replicaSet.status.replicas}}/</span>{{replicaSet.spec.replicas}} replica<span ng-if=\"replicaSet.spec.replicas != 1\">s</span>\n" +
18728
-    "</td>\n" +
18729
-    "<td data-title=\"Created\">\n" +
18730
-    "<span am-time-ago=\"replicaSet.metadata.creationTimestamp\"></span>\n" +
18731
-    "</td>\n" +
18732
-    "</tr>\n" +
18733
-    "</tbody>\n" +
18734
-    "</table>\n" +
18735
-    "</div>\n" +
18707
+    "<div class=\"mar-top-md\">\n" +
18736 18708
     "<annotations annotations=\"deployment.metadata.annotations\"></annotations>\n" +
18737 18709
     "</div>\n" +
18710
+    "</div>\n" +
18738 18711
     "</uib-tab>\n" +
18739 18712
     "<uib-tab heading=\"Environment\" active=\"selectedTab.environment\" ng-if=\"deployment\">\n" +
18740 18713
     "<uib-tab-heading>Environment</uib-tab-heading>\n" +
... ...
@@ -112709,6 +112724,7 @@ body{padding-right:0px!important}
112709 112709
 .empty-state-message{margin:60px auto;max-width:600px;padding:0 20px}
112710 112710
 .empty-state-message .h2,.empty-state-message h2{line-height:1.4}
112711 112711
 .empty-state-message .btn{margin:10px 0 20px}
112712
+.build-config-summary .last-status,.build-config-summary status-icon,.deployment-config-summary .last-status,.deployment-config-summary status-icon{margin-right:5px}
112712 112713
 @media (min-height:600px){.empty-state-message .hero-icon{display:inline-block;font-size:90px}
112713 112714
 }
112714 112715
 @media (min-height:800px){.empty-state-message{margin-top:150px}
... ...
@@ -112721,9 +112737,11 @@ mark{padding:0;background-color:rgba(252,248,160,.5)}
112721 112721
 .service-table{max-width:650px}
112722 112722
 @media (max-width:991px){.service-table{min-width:100%}
112723 112723
 }
112724
-.build-config-summary .latest-build-status{margin-right:5px}
112725
-.build-config-summary .latest-build-status .status-icon{width:20px}
112726
-.build-config-summary .latest-build-timestamp{margin-left:25px}
112724
+.build-config-summary .h3,.deployment-config-summary .h3{margin-bottom:0}
112725
+.build-config-summary .last-status .status-icon,.deployment-config-summary .last-status .status-icon{width:20px}
112726
+.build-config-summary .last-timestamp,.deployment-config-summary .last-timestamp{margin-left:25px}
112727
+.deployment-config-summary{padding-bottom:20px}
112728
+.deployment-config-summary.gutter-bottom-2x{padding-bottom:40px}
112727 112729
 .registry-image-pull{margin-bottom:20px}
112728 112730
 .image-sources .destination-dir:before,.image-sources .source-path:after{content:"\00a0 "}
112729 112731
 @media (max-width:767px){.pipelines-page h2 small{display:block;margin-top:3px}
... ...
@@ -113937,8 +113955,8 @@ kubernetes-topology-graph{height:700px}
113937 113937
 .console-os .section-header .actions{margin-top:0}
113938 113938
 .console-os .section-header .page-header-link{display:inline-block;font-size:11px;font-weight:400;margin:0 10px;white-space:nowrap}
113939 113939
 .action-inline,.learn-more-inline{margin-left:5px;font-size:11px}
113940
-.build-config-summary .meta,h1 small.meta{font-size:12px}
113941
-@media (max-width:480px){.build-config-summary .meta,h1 small.meta{display:block;margin-top:5px}
113940
+.build-config-summary .meta,.deployment-config-summary .meta,h1 small.meta{font-size:12px}
113941
+@media (max-width:480px){.build-config-summary .meta,.deployment-config-summary .meta,h1 small.meta{display:block;margin-top:5px}
113942 113942
 }
113943 113943
 .learn-more-block{display:block;font-size:11px;font-weight:400}
113944 113944
 .learn-more-inline{display:inline;font-weight:400}