diff --git a/src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/advanced-attachment/bitstream-attachment/bitstream-attachment.component.html b/src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/advanced-attachment/bitstream-attachment/bitstream-attachment.component.html index ea79887de4a..53f2a34ffbe 100644 --- a/src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/advanced-attachment/bitstream-attachment/bitstream-attachment.component.html +++ b/src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/advanced-attachment/bitstream-attachment/bitstream-attachment.component.html @@ -27,13 +27,17 @@ @if (attachmentConf.type === AdvancedAttachmentElementType.Metadata) { -

- {{attachment.firstMetadataValue(attachmentConf.name) | titlecase}} -

+ @if(!attachmentConf.truncatable && attachmentConf.name === attachmentTypeMetadata) { +

+ {{attachment.firstMetadataValue(attachmentConf.name) | titlecase}} +

+ } -

- {{attachment.firstMetadataValue(attachmentConf.name)}} -

+ @if(!attachmentConf.truncatable && attachmentConf.name !== attachmentTypeMetadata) { +

+ {{attachment.firstMetadataValue(attachmentConf.name)}} +

+ } @if (attachmentConf.truncatable) {