Skip to content

Commit

Permalink
bump(github.com/openshift/origin-web-console): 9f15b0a9c9254fa81e9da7…
Browse files Browse the repository at this point in the history
…e1f8b517b6a3001496
  • Loading branch information
OpenShift Bot committed May 3, 2017
1 parent 4a5ee06 commit 5cf1906
Showing 1 changed file with 43 additions and 17 deletions.
60 changes: 43 additions & 17 deletions pkg/assets/bindata.go
Expand Up @@ -5890,25 +5890,43 @@ _.set(this, "selectedTab.networking", !0), b(this);
}
}
};
}), angular.module("openshiftConsole").controller("LandingPageController", [ "$scope", "AuthService", "Catalog", "Constants", "Navigate", "NotificationsService", "RecentlyViewedServiceItems", function(a, b, c, d, e, f, g) {
a.saasOfferings = d.SAAS_OFFERINGS, a.viewMembership = function(a) {
e.toProjectMembership(a.metadata.name);
}, f.clearNotifications();
var h = function() {
}), angular.module("openshiftConsole").controller("LandingPageController", [ "$scope", "$rootScope", "AuthService", "Catalog", "Constants", "Navigate", "NotificationsService", "RecentlyViewedServiceItems", "GuidedTourService", "$timeout", "$routeParams", "$location", function(a, b, c, d, e, f, g, h, i, j, k, l) {
function m() {
if (p) if (k.startTour) j(function() {
a.startGuidedTour(n);
}, 500); else if (_.get(o, "auto_launch")) {
var c = "openshift/viewedHomePage/" + b.user.metadata.name;
"true" !== localStorage.getItem(c) && j(function() {
localStorage.setItem(c, "true"), a.startGuidedTour();
}, 500);
}
}
function n() {
j(function() {
l.replace(), l.search("startTour", null);
});
}
var o = _.get(e, "GUIDED_TOURS.landing_page_tour"), p = o && o.enabled && o.steps;
a.saasOfferings = e.SAAS_OFFERINGS, a.viewMembership = function(a) {
f.toProjectMembership(a.metadata.name);
}, p && (a.startGuidedTour = function(a) {
i.startTour(o.steps, a);
}), g.clearNotifications();
var q = function() {
var b = _.get(a, "template.metadata.uid");
b && g.addItem(b);
b && h.addItem(b);
};
a.templateSelected = function(b) {
a.template = b;
}, a.templateDialogClosed = function() {
h(), a.template = null;
}, b.withUser().then(function() {
var b = !_.get(d, "ENABLE_TECH_PREVIEW_FEATURE.template_service_broker");
c.getCatalogItems(b).then(function(b) {
a.catalogItems = b;
q(), a.template = null;
}, c.withUser().then(function() {
var b = !_.get(e, "ENABLE_TECH_PREVIEW_FEATURE.template_service_broker");
d.getCatalogItems(b).then(function(b) {
a.catalogItems = b, m();
});
}), a.$on("$destroy", function() {
h();
q();
});
} ]), angular.module("openshiftConsole").controller("ProjectsController", [ "$scope", "$filter", "$location", "$route", "$timeout", "AlertMessageService", "AuthService", "DataService", "KeywordService", "Logger", "ProjectsService", function(a, b, c, d, e, f, g, h, i, j, k) {
var l, m, n = [], o = [];
Expand Down Expand Up @@ -16850,16 +16868,24 @@ url:l
} ]), hawtioPluginLoader.addModule(a);
}(), angular.module("openshiftConsole").run([ "extensionRegistry", function(a) {
a.add("nav-help-dropdown", function() {
return [ {
var a = [];
if (a.push({
type:"dom",
node:'<li><a target="_blank" href="{{\'default\' | helpLink}}">Documentation</a></li>'
}, {
}), _.get(window, "OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.service_catalog_landing_page")) {
var b = _.get(window, "OPENSHIFT_CONSTANTS.GUIDED_TOURS.landing_page_tour");
b && b.enabled && b.steps && a.push({
type:"dom",
node:'<li><a href="./?startTour=true">Tour Home Page</a></li>'
});
}
return a.push({
type:"dom",
node:'<li><a href="command-line">Command Line Tools</a></li>'
}, {
}), a.push({
type:"dom",
node:'<li><a href="about">About</a></li>'
} ];
}), a;
});
} ]), angular.module("openshiftConsole").run([ "extensionRegistry", function(a) {
a.add("nav-user-dropdown", function() {
Expand Down Expand Up @@ -27326,7 +27352,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"<services-view catalog-items=\"catalogItems\" base-project-url=\"project\"></services-view>\n" +
"</landingbody>\n" +
"<landingside>\n" +
"<projects-summary base-project-url=\"project\" projects-url=\"projects\" view-edit-membership=\"viewMembership\" catalog-items=\"catalogItems\"></projects-summary>\n" +
"<projects-summary base-project-url=\"project\" projects-url=\"projects\" start-tour=\"startGuidedTour\" view-edit-membership=\"viewMembership\" catalog-items=\"catalogItems\"></projects-summary>\n" +
"</landingside>\n" +
"</landing-page>\n" +
"</div>\n" +
Expand Down

0 comments on commit 5cf1906

Please sign in to comment.