added custom item page fields for Projects, OrgUnits and People

This commit is contained in:
Art Lowel
2018-05-28 17:22:17 +02:00
parent fdd9746f64
commit 06d2ac74be
64 changed files with 463 additions and 132 deletions

View File

@@ -3,7 +3,7 @@ import { Component, Input, Inject } from '@angular/core';
import { Item } from '../../../core/shared/item.model';
import { AbstractListableElementComponent } from '../../object-collection/shared/object-collection-element/abstract-listable-element.component';
import { renderElementsFor } from '../../object-collection/shared/dso-element-decorator';
import { ViewMode } from '../../../+search-page/search-options.model';
import { SetViewMode } from '../../view-mode';
@Component({
selector: 'ds-item-list-element',
@@ -11,5 +11,5 @@ import { ViewMode } from '../../../+search-page/search-options.model';
templateUrl: './item-list-element.component.html'
})
@renderElementsFor(Item, ViewMode.List)
@renderElementsFor(Item, SetViewMode.List)
export class ItemListElementComponent extends AbstractListableElementComponent<Item> {}