summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-15 14:44:48 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-01-15 16:55:33 +0000
commitce1d343e682f9f173ae4f10b8b5fb3d5834baac7 (patch)
tree10e51528c2719b4f1ef077fe822f2af6fbe4130a /openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx
parenta3e9c9ecebcf5ab4dc83ee06126b5e6883b637e6 (diff)
Adding owner id to onboarding tiles
Issue-ID: SDC-930 Change-Id: If8e66f45f088950acfef8dd7a5a43eb97d0de9ab Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx9
1 files changed, 7 insertions, 2 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx b/openecomp-ui/src/sdc-app/onboarding/onboard/CatalogItemDetails.jsx
index dc3b3f5ab9..345c91e01b 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 React from 'react';
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 ITEM_TYPE_MAP = {
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 @@ const CatalogItemDetails = ({catalogItemData, catalogItemTypeClass, onSelect, on
<TooltipWrapper className='with-overlay' tooltipClassName='tile-title-info' dataTestId='catalog-item-name'>{name}</TooltipWrapper>
</TileInfoLine>
</TileInfo>
+ <TileFooter>
+ {owner &&
+ <TileFooterCell>Owner - {owner}</TileFooterCell>
+ }
+ </TileFooter>
</Tile>
);