update organizations structure and add unstyled sub routes and breadcrumbs

This commit is contained in:
John Mitchell
2018-11-29 14:12:33 -05:00
parent 1e7ab9deed
commit 12c8267b12
14 changed files with 594 additions and 53 deletions

View File

@@ -0,0 +1,29 @@
import React from 'react';
import {
Card,
CardBody,
PageSection,
PageSectionVariants
} from '@patternfly/react-core';
import {
Link
} from 'react-router-dom';
const OrganizationEdit = ({ match, parentBreadcrumbObj, organization }) => {
const { medium } = PageSectionVariants;
return (
<PageSection variant={medium}>
<Card className="at-c-orgPane">
<CardBody>
{'edit view '}
<Link to={{ pathname: `/organizations/${match.params.id}`, state: { breadcrumb: parentBreadcrumbObj, organization } }}>
{'save/cancel and go back to view'}
</Link>
</CardBody>
</Card>
</PageSection>
);
};
export default OrganizationEdit;