1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 04:15:28 +02:00

feat(update): highlight business edition feature auto update change window EE-1482 (#5961)

* remove unuse component from ce (#5930)

* update wording to Change Window

Co-authored-by: Richard Wei <54336863+WaysonWei@users.noreply.github.com>
Co-authored-by: waysonwei <degui.wei@gmail.com>
This commit is contained in:
Matt Hook 2021-11-03 09:57:21 +13:00 committed by GitHub
parent 28f71e486a
commit 3fb8a232b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 45 additions and 0 deletions

View file

@ -1,3 +1,5 @@
import { HIDE_AUTO_UPDATE_WINDOW } from 'Portainer/feature-flags/feature-ids';
export default class DockerFeaturesConfigurationController {
/* @ngInject */
constructor($async, EndpointService, Notifications, StateManager) {
@ -6,6 +8,8 @@ export default class DockerFeaturesConfigurationController {
this.Notifications = Notifications;
this.StateManager = StateManager;
this.limitedFeature = HIDE_AUTO_UPDATE_WINDOW;
this.formValues = {
enableHostManagementFeatures: false,
allowVolumeBrowserForRegularUsers: false,

View file

@ -41,6 +41,25 @@
></por-switch-field>
</div>
</div>
<!-- auto update window -->
<div class="col-sm-12 form-section-title">
Change Window Setting
</div>
<div class="form-group">
<div class="col-sm-12">
<por-switch-field
ng-model="$ctrl.state.autoUpdateSettings.Enabled"
name="disableSysctlSettingForRegularUsers"
label="Enable Change Window"
label-class="col-sm-7 col-lg-4"
feature="$ctrl.limitedFeature"
tooltip="Specify a timeframe during which automatic updates can occur in this environment."
>
</por-switch-field>
</div>
</div>
<!-- security -->
<div class="col-sm-12 form-section-title">
Docker Security Settings