@@ -7870,7 +7870,7 @@ f.then(j, j).then(F, F);
7870
7870
} ) ) ;
7871
7871
} ] ) , 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 ) {
7872
7872
function p ( ) {
7873
- return name && u ;
7873
+ return v && u ;
7874
7874
}
7875
7875
function q ( ) {
7876
7876
return s && t && u ;
@@ -7879,23 +7879,23 @@ var r = (l("displayName"), []);
7879
7879
a . emptyMessage = "Loading..." , a . alerts = [ ] , a . loginBaseUrl = d . openshiftAPIBaseUrl ( ) , a . buildConfigs = { } , a . showParamsTable = ! 1 , a . projectName = c . project ;
7880
7880
var s = c . imageStream , t = c . imageTag , u = c . namespace ;
7881
7881
a . fromSampleRepo = c . fromSample ;
7882
- var v = c . template , w = "" ;
7883
- q ( ) ? w = "project/" + a . projectName + "/create/fromimage?imageName=" + s + "&imageTag=" + t + "&namespace=" + u + "&name=" + name : p ( ) && ( w = "project/" + a . projectName + "/create/fromtemplate?template=" + v + "&namespace=" + u ) , a . breadcrumbs = [ {
7882
+ var v = c . template , w = "" , x = "" ;
7883
+ q ( ) ? ( w = "project/" + a . projectName + "/create/fromimage?imageName=" + s + "&imageTag=" + t + "&namespace=" + u + "&name=" + x , x = s + ":" + t ) : p ( ) && ( w = "project/" + a . projectName + "/create/fromtemplate?template=" + v + "&namespace=" + u , x = v ) , a . breadcrumbs = [ {
7884
7884
title :a . projectName ,
7885
7885
link :"project/" + a . projectName
7886
7886
} , {
7887
7887
title :"Add to Project" ,
7888
7888
link :"project/" + a . projectName + "/create"
7889
7889
} , {
7890
- title :name ,
7890
+ title :x ,
7891
7891
link :w
7892
7892
} , {
7893
7893
title :"Next Steps"
7894
7894
} ] ;
7895
- var x = g . getTemplateData ( ) ;
7896
- a . parameters = x . params , _ . each ( a . parameters , function ( a ) {
7895
+ var y = g . getTemplateData ( ) ;
7896
+ a . parameters = y . params , _ . each ( a . parameters , function ( a ) {
7897
7897
l ( "altTextForValueFrom" ) ( a ) ;
7898
- } ) , a . templateMessage = x . message , g . clearTemplateData ( ) , o . get ( c . project ) . then ( _ . spread ( function ( b , c ) {
7898
+ } ) , a . templateMessage = y . message , g . clearTemplateData ( ) , o . get ( c . project ) . then ( _ . spread ( function ( b , c ) {
7899
7899
function e ( a ) {
7900
7900
var b = [ ] ;
7901
7901
return angular . forEach ( a , function ( a ) {
@@ -7908,8 +7908,8 @@ return angular.forEach(a, function(a) {
7908
7908
"completed" !== a . status && b . push ( a ) ;
7909
7909
} ) , b ;
7910
7910
}
7911
- return a . project = b , a . breadcrumbs [ 0 ] . title = l ( "displayName" ) ( b ) , name ? ( r . push ( d . watch ( "buildconfigs" , c , function ( b ) {
7912
- a . buildConfigs = b . by ( "metadata.name" ) , a . createdBuildConfig = a . buildConfigs [ name ] , k . log ( "buildconfigs (subscribe)" , a . buildConfigs ) ;
7911
+ return a . project = b , a . breadcrumbs [ 0 ] . title = l ( "displayName" ) ( b ) , x ? ( r . push ( d . watch ( "buildconfigs" , c , function ( b ) {
7912
+ a . buildConfigs = b . by ( "metadata.name" ) , a . createdBuildConfig = a . buildConfigs [ x ] , k . log ( "buildconfigs (subscribe)" , a . buildConfigs ) ;
7913
7913
} ) ) , a . createdBuildConfigWithGitHubTrigger = function ( ) {
7914
7914
return _ . some ( _ . get ( a , "createdBuildConfig.spec.triggers" ) , {
7915
7915
type :"GitHub"
0 commit comments