|
|
@@ -11,13 +11,6 @@ import PutbackPageModal from '../PutbackPageModal';
|
|
|
import EmptyTrashModal from '../EmptyTrashModal';
|
|
|
import PageDeleteModal from '../PageDeleteModal';
|
|
|
|
|
|
-import CustomNavbar from '../CustomNavbar';
|
|
|
-import PageListIcon from '../Icons/PageListIcon';
|
|
|
-import TimeLineIcon from '../Icons/TimeLineIcon';
|
|
|
-import RecentChangesIcon from '../Icons/RecentChangesIcon';
|
|
|
-import AttachmentIcon from '../Icons/AttachmentIcon';
|
|
|
-import ShareLinkIcon from '../Icons/ShareLinkIcon';
|
|
|
-
|
|
|
|
|
|
const TrashPageAlert = (props) => {
|
|
|
const { t, appContainer, pageContainer } = props;
|
|
|
@@ -113,39 +106,6 @@ const TrashPageAlert = (props) => {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- const navTabMapping = {
|
|
|
- pagelist: {
|
|
|
- icon: <PageListIcon />,
|
|
|
- i18n: 'page_list',
|
|
|
- index: 0,
|
|
|
- tabContent: 'aaa',
|
|
|
- },
|
|
|
- timeline: {
|
|
|
- icon: <TimeLineIcon />,
|
|
|
- i18n: 'Timeline View',
|
|
|
- index: 1,
|
|
|
- tabContent: 'bbb',
|
|
|
- },
|
|
|
- pageHistory: {
|
|
|
- icon: <RecentChangesIcon />,
|
|
|
- i18n: 'History',
|
|
|
- index: 2,
|
|
|
- tabContent: 'ccc',
|
|
|
- },
|
|
|
- attachment: {
|
|
|
- icon: <AttachmentIcon />,
|
|
|
- i18n: 'attachment_data',
|
|
|
- index: 3,
|
|
|
- tabContent: 'ddd',
|
|
|
- },
|
|
|
- shareLink: {
|
|
|
- icon: <ShareLinkIcon />,
|
|
|
- i18n: 'share_links.share_link_management',
|
|
|
- index: 4,
|
|
|
- tabContent: 'eee',
|
|
|
- },
|
|
|
- };
|
|
|
-
|
|
|
return (
|
|
|
<>
|
|
|
<div className="alert alert-warning py-3 px-4 d-flex align-items-center">
|
|
|
@@ -157,10 +117,6 @@ const TrashPageAlert = (props) => {
|
|
|
{(isDeleted && currentUser != null) && renderTrashPageManagementButtons()}
|
|
|
</div>
|
|
|
{renderModals()}
|
|
|
-
|
|
|
- <CustomNavbar
|
|
|
- navTabMapping={navTabMapping}
|
|
|
- />
|
|
|
</>
|
|
|
);
|
|
|
};
|