diff --git a/e2e/pages/page.ts b/e2e/pages/page.ts index 01e9895d9..0ee4009cb 100644 --- a/e2e/pages/page.ts +++ b/e2e/pages/page.ts @@ -21,7 +21,7 @@ export abstract class Page { private static USE_HASH_STRATEGY = true; private locators = { - app: by.css('alfresco-content-app'), + app: by.css('app-root'), overlay: by.css('.cdk-overlay-container'), snackBar: by.css('simple-snack-bar') }; diff --git a/src/app/common/adf.module.ts b/src/app/common/adf.module.ts deleted file mode 100644 index 9698c33a5..000000000 --- a/src/app/common/adf.module.ts +++ /dev/null @@ -1,44 +0,0 @@ -/*! - * @license - * Copyright 2017 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; - -import { CoreModule } from 'ng2-alfresco-core'; -import { DataTableModule } from 'ng2-alfresco-datatable'; -import { DocumentListModule } from 'ng2-alfresco-documentlist'; -import { ViewerModule } from 'ng2-alfresco-viewer'; -import { UploadModule } from 'ng2-alfresco-upload'; -import { SearchModule } from 'ng2-alfresco-search'; -import { LoginModule } from 'ng2-alfresco-login'; - -export function modules() { - return [ - CoreModule, - DataTableModule, - DocumentListModule, - ViewerModule, - UploadModule, - SearchModule, - LoginModule - ]; -} - -@NgModule({ - imports: modules(), - exports: modules() -}) -export class AdfModule {} diff --git a/src/app/common/common.module.ts b/src/app/common/common.module.ts index 7dadb14f4..06a8d886c 100644 --- a/src/app/common/common.module.ts +++ b/src/app/common/common.module.ts @@ -20,7 +20,7 @@ import { DatePipe } from '@angular/common'; import { RouterModule } from '@angular/router'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { AdfModule } from './adf.module'; +import { AdfModule } from '../adf.module'; import { MaterialModule } from './material.module'; import { FolderDialogComponent } from './dialogs/folder-dialog.component'; diff --git a/src/app/components/favorites/favorites.component.html b/src/app/components/favorites/favorites.component.html index bfa1a8880..a66bf922b 100644 --- a/src/app/components/favorites/favorites.component.html +++ b/src/app/components/favorites/favorites.component.html @@ -77,6 +77,7 @@
+ + +
+ star_rate +

{{ 'APP.BROWSE.FAVORITES.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.FAVORITES.EMPTY_STATE.TEXT' | translate }}

+
+
+
+ + + +
+ group_work +

{{ 'APP.BROWSE.LIBRARIES.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.LIBRARIES.EMPTY_STATE.TITLE' | translate }}

+
+
+
+ + [ngClass]="{ 'app-no-content': documentList.isEmpty() }" + currentFolderId="-recent-" + selectionMode="multiple" + [navigate]="false" + [sorting]="[ 'modifiedAt', 'desc' ]" + [pageSize]="25" + [contextMenuActions]="true" + [contentActions]="false" + (node-dblclick)="onNodeDoubleClick($event.detail?.node?.entry)"> + + + +
+ access_time +

{{ 'APP.BROWSE.RECENT.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.RECENT.EMPTY_STATE.TITLE' | translate }}

+
+
+
+ + +
+ people +

{{ 'APP.BROWSE.SHARED.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.SHARED.EMPTY_STATE.TITLE' | translate }}

+
+
+
+ + + +
+ delete +

{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.TITLE' | translate }}

+

{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.FIRST_TEXT' | translate }}

+

{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.SECOND_TEXT' | translate }}

+
+
+
+