diff --git a/app/portainer/components/environment-variables-panel/environment-variables-panel.html b/app/portainer/components/environment-variables-panel/environment-variables-panel.html index 4dc97870c..06c0b7438 100644 --- a/app/portainer/components/environment-variables-panel/environment-variables-panel.html +++ b/app/portainer/components/environment-variables-panel/environment-variables-panel.html @@ -10,6 +10,7 @@ ng-model="$ctrl.ngModel" on-change="($ctrl.handleSimpleChange)" on-switch-mode-click="($ctrl.switchEnvMode)" + show-help-message="$ctrl.showHelpMessage" >
@@ -23,6 +24,10 @@
+
+ + Environment changes will not take effect until redeployment occurs manually or via webhook. +
diff --git a/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.css b/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.css index 155c9684a..1cb932846 100644 --- a/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.css +++ b/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.css @@ -10,7 +10,7 @@ } .env-items-list { - margin-top: 10px; + margin: 10px 0; } .env-items-list > * + * { diff --git a/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.html b/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.html index 66a6f0fe4..68156f806 100644 --- a/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.html +++ b/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/environment-variables-simple-mode.html @@ -33,4 +33,8 @@ on-remove="($ctrl.remove)" > +
+ + Environment changes will not take effect until redeployment occurs manually or via webhook. +
diff --git a/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/index.js b/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/index.js index d51f2c11d..f21bfd967 100644 --- a/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/index.js +++ b/app/portainer/components/environment-variables-panel/environment-variables-simple-mode/index.js @@ -11,5 +11,6 @@ angular.module('portainer.app').component('environmentVariablesSimpleMode', { ngModel: '<', onSwitchModeClick: '<', onChange: '<', + showHelpMessage: '<', }, }); diff --git a/app/portainer/components/environment-variables-panel/index.js b/app/portainer/components/environment-variables-panel/index.js index 9da15a489..64240ada4 100644 --- a/app/portainer/components/environment-variables-panel/index.js +++ b/app/portainer/components/environment-variables-panel/index.js @@ -11,5 +11,6 @@ angular.module('portainer.app').component('environmentVariablesPanel', { ngModel: '<', explanation: '@', onChange: '<', + showHelpMessage: '<', }, }); diff --git a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html index 273964a58..32cbfb54d 100644 --- a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html +++ b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.html @@ -35,6 +35,7 @@ ng-model="$ctrl.formValues.Env" explanation="These values will be used as substitutions in the stack file" on-change="($ctrl.onChangeEnvVar)" + show-help-message="true" >