Skip to content

Commit 3211a84

Browse files
author
OpenShift Bot
authored
Merge pull request #478 from spadgett/edit-pipeline-empty-triggers
Merged by openshift-bot
2 parents e764849 + 365d7a8 commit 3211a84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/edit/build-config.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ <h3>Environment Variables<span class="help action-inline">
519519
add-row-link="Add environment variable"></key-value-editor>
520520
</div>
521521
</div>
522-
<div class="section">
522+
<div ng-if="sources.git || !(updatedBuildConfig | isJenkinsPipelineStrategy)" class="section">
523523
<h3>Triggers
524524
<a href="{{'build-triggers' | helpLink}}" aria-hidden="true" target="_blank"><span class="learn-more-inline">Learn more<i class="fa fa-external-link"></i></span></a>
525525
</h3>

dist/scripts/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6661,7 +6661,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
66616661
"<key-value-editor ng-if=\"envVars\" entries=\"envVars\" key-validator=\"[a-zA-Z][a-zA-Z0-9_]*\" key-validator-error-tooltip=\"A valid environment variable name is an alphanumeric (a-z and 0-9) string beginning with a letter that may contain underscores.\" add-row-link=\"Add environment variable\"></key-value-editor>\n" +
66626662
"</div>\n" +
66636663
"</div>\n" +
6664-
"<div class=\"section\">\n" +
6664+
"<div ng-if=\"sources.git || !(updatedBuildConfig | isJenkinsPipelineStrategy)\" class=\"section\">\n" +
66656665
"<h3>Triggers\n" +
66666666
"<a href=\"{{'build-triggers' | helpLink}}\" aria-hidden=\"true\" target=\"_blank\"><span class=\"learn-more-inline\">Learn more<i class=\"fa fa-external-link\"></i></span></a>\n" +
66676667
"</h3>\n" +

0 commit comments

Comments
 (0)