diff --git a/app/kubernetes/views/deploy/deploy.html b/app/kubernetes/views/deploy/deploy.html index 5b14b3585..36f21126f 100644 --- a/app/kubernetes/views/deploy/deploy.html +++ b/app/kubernetes/views/deploy/deploy.html @@ -132,22 +132,10 @@ definitions="ctrl.state.template.Variables" value="ctrl.formValues.Variables" on-change="(ctrl.onChangeTemplateVariables)" + is-load-failed="ctrl.state.BuildMethod === ctrl.BuildMethods.CUSTOM_TEMPLATE && ctrl.state.templateId && ctrl.state.templateLoadFailed" > - - -

- Custom template could not be loaded, please - click here for configuration.

-

- Custom template could not be loaded, please contact your - administrator.

-
-
-
+ +

+ Custom template could not be loaded, please + click here for configuration.

+

+ Custom template could not be loaded, please contact your administrator.

+
No custom templates are available. Head over to the custom template view to create one. diff --git a/app/portainer/components/custom-template-selector/index.js b/app/portainer/components/custom-template-selector/index.js index 6e677618d..9b5e5c05d 100644 --- a/app/portainer/components/custom-template-selector/index.js +++ b/app/portainer/components/custom-template-selector/index.js @@ -7,6 +7,7 @@ export const customTemplateSelector = { bindings: { newTemplatePath: '@', stackType: '<', + isLoadFailed: '<', value: '<', onChange: '<',