<div ng-controller="notificationAdvSettingsCtrl as vm">
    <div class="lt-module-page__top lt-module-page-top">
        <div class="lt-module-page-top__title mr-auto">
            <h1>{{'Notification Advanced Settings' | translate}}</h1>
        </div>
        <div class="lt-module-page-top__actions">
            <button class="btn btn-primary wide-config-btn pull-right"
                    ng-disabled="vm.saving" ng-click="vm.saveConfig()">
                {{(vm.saving ? 'Saving' : 'Save configuration')  | translate}}
            </button>
        </div>
    </div>

    <div class="panel lt-module-page__content-panel">
        <p>
            {{'These options can be used to improve performance at the cost of reducing the functionality level for Wizdom Notifications related to Wizdom social features on SharePoint page.' | translate}}
        </p>

        <br />

        <div class="row">
            <div class="col-sm-4">
                {{"Disable Wizdom Notifications on comments or at-mentions on SharePoint pages." | translate}}
            </div>
            <div class="col-sm-8">
                <input type="checkbox" ng-model="vm.DisableSPItemsInNotificationOverview">

            </div>
        </div>

        <br />

        <div class="alert alert-info">{{"Note: Disabling this will exclude comments or at-mentions on SharePoint pages to be included in Notifications, but might improve performance slightly." | translate}}</div>

        <br />

        <div class="row">
            <div class="col-sm-4">
                {{"Disable permission checks on SharePoint pages for Wizdom Notifications on comments or at-mentions on SharePoint pages." | translate}}
            </div>
            <div class="col-sm-8">
                <input type="checkbox" ng-model="vm.DisableACLCheckForSPItemsInNotificationOverview" ng-disabled="vm.DisableSPItemsInNotificationOverview">
            </div>
        </div>

        <br />

        <div class="alert alert-info">{{"Note:  Disabling this will improve caching and can thus improve performance. However disabling this could lead to a user seeing page title of a page they do not have access to, but have been at-mentioned in a comment on." | translate}}</div>
    </div>
</div>