add the ability to mix text based metadata fields, authority controlled fields and typed items in the same section

This commit is contained in:
Art Lowel
2019-01-21 18:27:07 +01:00
parent 8ae8498ab1
commit 57999ad382
54 changed files with 833 additions and 98 deletions

View File

@@ -4,6 +4,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MockTranslateLoader } from '../../../shared/mocks/mock-translate-loader';
import { MetadataValuesComponent } from './metadata-values.component';
import { By } from '@angular/platform-browser';
import { Metadatum } from '../../../core/shared/metadatum.model';
let comp: MetadataValuesComponent;
let fixture: ComponentFixture<MetadataValuesComponent>;
@@ -23,7 +24,7 @@ const mockMetadata = [
key: 'journal.identifier.description',
language: 'en_US',
value: 'desc'
}];
}] as Metadatum[];
const mockSeperator = '<br/>';
const mockLabel = 'fake.message';