1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix(teaser): add up-to-date teaser [EE-5014] (#8548)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2023-03-02 10:14:50 +13:00 committed by GitHub
parent a45ef3d72e
commit 96e5d44cc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 2 deletions

View file

@ -9,7 +9,8 @@ export default class DockerFeaturesConfigurationController {
this.Notifications = Notifications;
this.StateManager = StateManager;
this.limitedFeature = FeatureId.HIDE_AUTO_UPDATE_WINDOW;
this.limitedFeatureAutoUpdate = FeatureId.HIDE_AUTO_UPDATE_WINDOW;
this.limitedFeatureUpToDateImage = FeatureId.IMAGE_UP_TO_DATE_INDICATOR;
this.formValues = {
enableHostManagementFeatures: false,

View file

@ -48,7 +48,7 @@
name="'disableSysctlSettingForRegularUsers'"
label="'Enable Change Window'"
label-class="'col-sm-7 col-lg-4'"
feature-id="$ctrl.limitedFeature"
feature-id="$ctrl.limitedFeatureAutoUpdate"
tooltip="'Specify a time-frame during which automatic updates can occur in this environment.'"
on-change="($ctrl.onToggleAutoUpdate)"
>
@ -147,6 +147,21 @@
</div>
<!-- !security -->
<!-- other -->
<div class="col-sm-12 form-section-title"> Other </div>
<div class="form-group">
<div class="col-sm-12">
<por-switch-field
label="'Show a notification to indicate out-of-date images for Docker environments'"
checked="false"
name="'outOfDateImageToggle'"
label-class="'col-sm-7 col-lg-4'"
feature-id="$ctrl.limitedFeatureUpToDateImage"
></por-switch-field>
</div>
</div>
<!-- !other -->
<!-- actions -->
<div class="col-sm-12 form-section-title"> Actions </div>
<div class="form-group">