From 00110d17782c3af1399f8ed61e690283f14ab5a0 Mon Sep 17 00:00:00 2001 From: Jakub Hadvig Date: Tue, 31 Oct 2017 13:40:56 +0100 Subject: [PATCH] Bug 1507753 - Make config page and environment tab actions consistent --- app/views/create/fromimage.html | 4 ++-- app/views/directives/deploy-image.html | 4 ++-- app/views/directives/edit-lifecycle-hook.html | 4 ++-- app/views/edit/deployment-config.html | 8 ++++---- dist/scripts/templates.js | 10 +++++----- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/views/create/fromimage.html b/app/views/create/fromimage.html index 14c41ec7b4..a5580c1fef 100644 --- a/app/views/create/fromimage.html +++ b/app/views/create/fromimage.html @@ -283,8 +283,8 @@

Environment Variables (Runtime only) + add-row-link="Add Value" + add-row-with-selectors-link="Add Value from Config Map or Secret"> diff --git a/app/views/directives/deploy-image.html b/app/views/directives/deploy-image.html index 05159b0397..cb5120b249 100644 --- a/app/views/directives/deploy-image.html +++ b/app/views/directives/deploy-image.html @@ -167,8 +167,8 @@

key-validator-error="A valid environment variable name is an alphanumeric (a-z and 0-9) string beginning with a letter that may contain underscores." value-placeholder="Value" value-from-selector-options="input.selectedProject.metadata.uid && valueFromNamespace[input.selectedProject.metadata.name]" - add-row-link="Add Environment Variable" - add-row-with-selectors-link="Add Environment Variable Using a Config Map or Secret"> + add-row-link="Add Value" + add-row-with-selectors-link="Add Value from Config Map or Secret"> + add-row-with-selectors-link="Add Value from Config Map or Secret" + add-row-link="Add Value">
Environment variables to supply to the hook pod's container.
diff --git a/app/views/edit/deployment-config.html b/app/views/edit/deployment-config.html index 69884edc7b..4246e11737 100644 --- a/app/views/edit/deployment-config.html +++ b/app/views/edit/deployment-config.html @@ -71,8 +71,8 @@

Deployment Strategy

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." value-from-selector-options="valueFromObjects" - add-row-link="Add Environment Variable" - add-row-with-selectors-link="Add Environment Variable Using a Config Map or Secret"> + add-row-link="Add Value" + add-row-with-selectors-link="Add Value from Config Map or Secret">
@@ -356,8 +356,8 @@

Container {{containerName}}

value-from-selector-options="valueFromObjects" 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" - add-row-with-selectors-link="Add Environment Variable Using a Config Map or Secret"> + add-row-link="Add Value" + add-row-with-selectors-link="Add Value from Config Map or Secret">
diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index 04d0795680..5485a88953 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -4985,7 +4985,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "\n" + "\n" + - "\n" + + "\n" + "\n" + "\n" + "\n" + @@ -6452,7 +6452,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "\n" + "\n" + - "\n" + + "\n" + "\n" + "\n" + "\n" + @@ -6877,7 +6877,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "
\n" + "\n" + - "\n" + + "\n" + "
\n" + "Environment variables to supply to the hook pod's container.\n" + "
\n" + @@ -10026,7 +10026,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "\n" + - "\n" + + "\n" + "
\n" + "\n" + "
\n" + @@ -10206,7 +10206,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "

Container {{containerName}}

\n" + "
\n" + - "\n" + + "\n" + "
\n" + "\n" + "\n" +