From d8a9777aafbba4e66a8b0aeeda2b647d5562403d Mon Sep 17 00:00:00 2001 From: Andy Nicholson <intothemist@gmail.com> Date: Fri, 18 Dec 2020 13:57:58 +1100 Subject: [PATCH] start re-arranging front page listing --- .../component-frontpage/src/Frontpage.js | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/app/components/component-frontpage/src/Frontpage.js b/app/components/component-frontpage/src/Frontpage.js index 388379bd2b..b8a29a9bd0 100644 --- a/app/components/component-frontpage/src/Frontpage.js +++ b/app/components/component-frontpage/src/Frontpage.js @@ -41,6 +41,7 @@ const Frontpage = ({ history, ...props }) => { <Title>{manuscript.meta.title}</Title> </SectionHeader> <SectionRow key={`manuscript-${manuscript.id}`}> + <p>Abstract: {manuscript.submission?.abstract}</p> <p> Visual abstract:{' '} <VisualAbstract @@ -48,12 +49,7 @@ const Frontpage = ({ history, ...props }) => { src={manuscript.visualAbstract} /> </p> - <p>Abstract: {manuscript.submission?.abstract}</p> - <p> - {manuscript.submitter.defaultIdentity.name} ( - {manuscript.submission.affiliation}) - </p> <div> Submitted files: {manuscript.files.map(file => ( @@ -68,6 +64,7 @@ const Frontpage = ({ history, ...props }) => { </p> ))} </div> + <div> Submitted research objects: {manuscript.submission?.links?.map(link => ( @@ -82,16 +79,7 @@ const Frontpage = ({ history, ...props }) => { </p> ))} </div> - <div> - Reviews: - {manuscript.reviews.map( - review => - review.reviewComment && ( - <p>"{review.reviewComment?.content}"</p> - ), - )} - </div> - <div>Published: {manuscript.published}</div> + </SectionRow> </SectionContent> )) -- GitLab