...
|
...
|
@@ -20739,7 +20739,10 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
|
20739
|
20739
|
" 'col-lg-12': !advancedOptions}\">\n" +
|
20740
|
20740
|
"<div class=\"form-group\">\n" +
|
20741
|
20741
|
"<label for=\"sourceUrl\" class=\"required\">Git Repository URL</label>\n" +
|
20742
|
|
- "<div ng-class=\"{'has-warning': form.sourceUrl.$touched && !sourceURLPattern.test(buildConfig.sourceUrl), 'has-error': (form.sourceUrl.$error.required && form.sourceUrl.$dirty)}\">\n" +
|
|
20742
|
+ "<div ng-class=\"{\n" +
|
|
20743
|
+ " 'has-warning': buildConfig.sourceUrl && form.sourceUrl.$touched && !sourceURLPattern.test(buildConfig.sourceUrl),\n" +
|
|
20744
|
+ " 'has-error': (form.sourceUrl.$error.required && form.sourceUrl.$dirty)\n" +
|
|
20745
|
+ " }\">\n" +
|
20743
|
20746
|
"\n" +
|
20744
|
20747
|
"<input class=\"form-control\" id=\"sourceUrl\" name=\"sourceUrl\" type=\"text\" required aria-describedby=\"from_source_help\" ng-model=\"buildConfig.sourceUrl\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\">\n" +
|
20745
|
20748
|
"</div>\n" +
|
...
|
...
|
@@ -24432,7 +24435,10 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
|
24432
|
24432
|
" 'col-lg-12': !view.advancedOptions}\">\n" +
|
24433
|
24433
|
"<div class=\"form-group\">\n" +
|
24434
|
24434
|
"<label for=\"sourceUrl\" class=\"required\">Git Repository URL</label>\n" +
|
24435
|
|
- "<div>\n" +
|
|
24435
|
+ "<div ng-class=\"{\n" +
|
|
24436
|
+ " 'has-warning': form.sourceUrl.$touched && !sourceURLPattern.test(updatedBuildConfig.spec.source.git.uri),\n" +
|
|
24437
|
+ " 'has-error': form.sourceUrl.$touched && form.sourceUrl.$error.required\n" +
|
|
24438
|
+ " }\">\n" +
|
24436
|
24439
|
"\n" +
|
24437
|
24440
|
"<input class=\"form-control\" id=\"sourceUrl\" name=\"sourceUrl\" ng-model=\"updatedBuildConfig.spec.source.git.uri\" type=\"text\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\" aria-describedby=\"source-url-help\" required>\n" +
|
24438
|
24441
|
"</div>\n" +
|
...
|
...
|
@@ -24440,6 +24446,9 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
|
24440
|
24440
|
"Git URL of the source code to build.\n" +
|
24441
|
24441
|
"<span ng-if=\"!view.advancedOptions\">If your Git repository is private, view the <a href=\"\" ng-click=\"view.advancedOptions = true\">advanced options</a> to set up authentication.</span>\n" +
|
24442
|
24442
|
"</div>\n" +
|
|
24443
|
+ "<div class=\"has-error\" ng-if=\"form.sourceUrl.$touched && form.sourceUrl.$error.required\">\n" +
|
|
24444
|
+ "<span class=\"help-block\">A Git repository URL is required.</span>\n" +
|
|
24445
|
+ "</div>\n" +
|
24443
|
24446
|
"<div class=\"has-warning\" ng-if=\"updatedBuildConfig.spec.source.git.uri && form.sourceUrl.$touched && !sourceURLPattern.test(updatedBuildConfig.spec.source.git.uri)\">\n" +
|
24444
|
24447
|
"<span class=\"help-block\">This might not be a valid Git URL. Check that it is the correct URL to a remote Git repository.</span>\n" +
|
24445
|
24448
|
"</div>\n" +
|