File tree Expand file tree Collapse file tree 1 file changed +20
-19
lines changed
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page Expand file tree Collapse file tree 1 file changed +20
-19
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class RecordCommunitiesList extends Component {
6666 < Grid . Column width = { 2 } >
6767 < Image wrapped size = "mini" src = { community . links . logo } alt = "" />
6868 </ Grid . Column >
69- < Grid . Column width = { viewRequest ? 8 : 14 } >
69+ < Grid . Column width = { 14 } >
7070 < Item . Content >
7171 < Item . Header className = "ui" >
7272 < Header as = "a" href = { community . links . self_html } size = "small" >
@@ -97,27 +97,28 @@ export class RecordCommunitiesList extends Component {
9797 </ a >
9898 </ HeaderSubheader >
9999 ) }
100+ { viewRequest && (
101+ < div >
102+ < small >
103+ < b >
104+ < a
105+ // building request link as the self_html of the request is
106+ // /requests/<uuid> which doesn't resolve as missing
107+ // /communities/ or /me/. We prefer /communities/ here
108+ href = { `${ community . links . self_html } requests/${
109+ recordRequests [ community . id ]
110+ } `}
111+ >
112+ < Icon name = "discussions" />
113+ { i18next . t ( "View comments" ) }
114+ </ a >
115+ </ b >
116+ </ small >
117+ </ div >
118+ ) }
100119 </ Item . Header >
101120 </ Item . Content >
102121 </ Grid . Column >
103- { viewRequest && (
104- < Grid . Column width = { 6 } >
105- < Button
106- basic
107- compact
108- size = "mini"
109- floated = "right"
110- icon = "discussions"
111- content = { i18next . t ( "Submission" ) }
112- // building request link as the self_html of the request is
113- // /requests/<uuid> which doesn't resolve as missing
114- // /communities/ or /me/. We prefer /communities/ here
115- href = { `${ community . links . self_html } requests/${
116- recordRequests [ community . id ]
117- } `}
118- />
119- </ Grid . Column >
120- ) }
121122 </ Grid . Row >
122123 </ Grid >
123124 ) ;
You can’t perform that action at this time.
0 commit comments