<div ng-controller="ServicemenuPredefinedLinksController as vm" class="lt-module-page wizdom-link-collection">

    <div class="lt-module-page__top lt-module-page-top">
        <div class="lt-module-page-top__title">
            <h1>Predefined links</h1>
        </div>
        <div class="lt-module-page-top__actions">
            <div class="saveConfigurationButton">
                <button class="btn btn-primary"
                        ng-disabled="vm.saving"
                        ng-click="vm.save()">
                    {{vm.saving ? 'Saving' : 'Save configuration' | translate}}
                </button>
            </div>
        </div>
    </div>

    <div>{{'Please note that adding, deleting and editing links might take up to 5 minutes to take effect in the service menu.' | translate}}</div>

    <wizdom365-edit-linklist is-admin="true"
                                viewid="{{vm.serviceMenu.viewId}}"
                                create-categories="false"
                                category-datasource="vm.serviceMenu.categories"
                                panel-class="lt-module-page__content-panel">
    </wizdom365-edit-linklist>

</div>