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:
parent
a45ef3d72e
commit
96e5d44cc2
5 changed files with 21 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue