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:
Christian Scheible
2017-06-13 10:02:49 +02:00
parent 48c3cb4e46
commit 3ad3df7568
36 changed files with 107 additions and 166 deletions

View File

@@ -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,
]
})