Adding owner id to onboarding tiles
Issue-ID: SDC-930
Change-Id: If8e66f45f088950acfef8dd7a5a43eb97d0de9ab
Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
diff --git a/openecomp-ui/proxy-server.js b/openecomp-ui/proxy-server.js
index 3c4c32c..39d9c67 100644
--- a/openecomp-ui/proxy-server.js
+++ b/openecomp-ui/proxy-server.js
@@ -93,7 +93,7 @@
var wsProxy = proxy(devConfig.proxyConfig.websocketProxy.proxy, Object.assign({}, proxyConfigDefaults, {
target: websocketTarget,
ws: true
- }))
+ }));
middlewares.push(wsProxy);
diff --git a/openecomp-ui/resources/scss/modules/_onboardingCatalog.scss b/openecomp-ui/resources/scss/modules/_onboardingCatalog.scss
index 4fb0f7c..1201d4a 100644
--- a/openecomp-ui/resources/scss/modules/_onboardingCatalog.scss
+++ b/openecomp-ui/resources/scss/modules/_onboardingCatalog.scss
@@ -50,6 +50,7 @@
display: flex;
align-items: center;
flex-direction: row;
+ text-transform: none;
}
}
}
diff --git a/openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx b/openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx
index dc3b3f5..345c91e 100644
--- a/openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx
@@ -17,7 +17,7 @@
import PropTypes from 'prop-types';
import i18n from 'nfvo-utils/i18n/i18n.js';
import {catalogItemTypes, migrationStatusMapper} from './onboardingCatalog/OnboardingCatalogConstants.js';
-import {Tile, TileInfo, TileInfoLine} from 'sdc-ui/lib/react';
+import {Tile, TileInfo, TileInfoLine, TileFooter, TileFooterCell} from 'sdc-ui/lib/react';
import {TooltipWrapper} from './onboardingCatalog/Tooltip.jsx';
const ITEM_TYPE_MAP = {
@@ -35,7 +35,7 @@
const CatalogItemDetails = ({catalogItemData, catalogItemTypeClass, onSelect, onMigrate}) => {
- let {vendorName, name} = catalogItemData;
+ let {vendorName, name, owner} = catalogItemData;
let {headerText, color, contentIconName} = ITEM_TYPE_MAP[catalogItemTypeClass];
let onClick = (e) => {
@@ -66,6 +66,11 @@
<TooltipWrapper className='with-overlay' tooltipClassName='tile-title-info' dataTestId='catalog-item-name'>{name}</TooltipWrapper>
</TileInfoLine>
</TileInfo>
+ <TileFooter>
+ {owner &&
+ <TileFooterCell>Owner - {owner}</TileFooterCell>
+ }
+ </TileFooter>
</Tile>
);