diff --git a/src/components/manage/Contents/ContentsItem.jsx b/src/components/manage/Contents/ContentsItem.jsx index a0adba5d74..5039fcfee0 100644 --- a/src/components/manage/Contents/ContentsItem.jsx +++ b/src/components/manage/Contents/ContentsItem.jsx @@ -4,7 +4,13 @@ */ import React from 'react'; -import { Button, Table, Menu, Divider } from 'semantic-ui-react'; +import { + Button, + Table, + Menu, + Divider, + Popup as SemanticUiPopup, +} from 'semantic-ui-react'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import { map } from 'lodash'; @@ -153,13 +159,40 @@ export const ContentsItemComponent = ({ to={`${item['@id']}${item.is_folderish ? '/contents' : ''}`} >
- {' '} + {item['@type'] === 'Image' ? ( + + {' '} +
+ } + > + +
+ +
+
+ + ) : ( + + )} {item.title} {item.ExpirationDate !== 'None' &&