diff --git a/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js b/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js index ea606eb92..e38e39352 100644 --- a/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js +++ b/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js @@ -1,7 +1,8 @@ import _isEmpty from 'lodash/isEmpty'; import PropTypes from 'prop-types'; +import _get from 'lodash/get'; import React, { Component } from 'react'; -import { Header } from 'semantic-ui-react'; +import { Grid, Header, Label } from 'semantic-ui-react'; import LiteratureTitle from '@modules/Literature/LiteratureTitle'; export class DocumentTitle extends Component { @@ -19,9 +20,26 @@ export class DocumentTitle extends Component { render() { const { metadata } = this.props; + const volume = _get(metadata, 'relations.multipart_monograph[0].volume'); + return ( <> - {metadata.document_type} + + + + {metadata.document_type} + + + {volume && } + + + + + {metadata.document_type} + + {volume && } + +