diff --git a/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html b/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html index c42d27589..ce7ab3eb7 100644 --- a/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html +++ b/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html @@ -67,8 +67,23 @@ />
+ {% endif %} + {% if community.parent %} +
{PartOfCommunities()}
diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordCommunitiesList.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordCommunitiesList.js
index 620c22f58..fc7d02c4a 100644
--- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordCommunitiesList.js
+++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordCommunitiesList.js
@@ -9,7 +9,16 @@ import _isEmpty from "lodash/isEmpty";
import PropTypes from "prop-types";
import React, { Component } from "react";
import { Image } from "react-invenio-forms";
-import { Item, Message, Popup, Placeholder, Header, Icon } from "semantic-ui-react";
+import {
+ Grid,
+ Item,
+ Message,
+ Popup,
+ Placeholder,
+ Header,
+ HeaderSubheader,
+ Icon,
+} from "semantic-ui-react";
export class RecordCommunitiesList extends Component {
render() {
@@ -48,25 +57,45 @@ export class RecordCommunitiesList extends Component {
const communityItems = communities
?.slice(0, maxDisplayedCommunities)
.map((community) => (
-
-
+