mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
Refactored community and collection pages to use a shared component for most of the content. This PR connect’s to #89
This commit is contained in:
@@ -4,14 +4,11 @@ import { RouterModule } from "@angular/router";
|
||||
|
||||
import { TranslateModule } from "@ngx-translate/core";
|
||||
|
||||
import { SharedModule } from '../shared/shared.module';
|
||||
import { CommunityPageComponent } from './community-page.component';
|
||||
import { FieldWrapperComponent } from './field-wrapper/field-wrapper.component';
|
||||
import { CommunityPageNameComponent } from './name/community-page-name.component';
|
||||
import { CommunityPageLogoComponent } from './logo/community-page-logo.component';
|
||||
import { CommunityPageIntroductoryTextComponent } from './introductory-text/community-page-introductory-text.component';
|
||||
import { CommunityPageNewsComponent } from './news/community-page-news.component';
|
||||
import { CommunityPageCopyrightComponent } from './copyright/community-page-copyright.component';
|
||||
import { CommunityPageLicenseComponent } from './license/community-page-license.component';
|
||||
import { CommunityPageSubCollectionListComponent } from './sub-collection-list/community-page-sub-collection-list.component';
|
||||
import { CommunityPageRoutingModule } from './community-page-routing.module';
|
||||
|
||||
@@ -21,16 +18,13 @@ import { CommunityPageRoutingModule } from './community-page-routing.module';
|
||||
CommonModule,
|
||||
TranslateModule,
|
||||
RouterModule,
|
||||
SharedModule,
|
||||
],
|
||||
declarations: [
|
||||
CommunityPageComponent,
|
||||
FieldWrapperComponent,
|
||||
CommunityPageNameComponent,
|
||||
CommunityPageLogoComponent,
|
||||
CommunityPageIntroductoryTextComponent,
|
||||
CommunityPageNewsComponent,
|
||||
CommunityPageCopyrightComponent,
|
||||
CommunityPageLicenseComponent,
|
||||
CommunityPageSubCollectionListComponent,
|
||||
]
|
||||
})
|
||||
|
Reference in New Issue
Block a user