adding in new menu items, their corresponding views and their locals for a project
This commit is contained in:
parent
63dec8741f
commit
f8c3da4bc6
@ -1,5 +1,6 @@
|
||||
{
|
||||
"your-dashboard": "Your dashboard",
|
||||
"project-feed": "Project Feed",
|
||||
"settings": "Settings",
|
||||
"projects": "Projects",
|
||||
"people": "People",
|
||||
@ -7,7 +8,7 @@
|
||||
"instances": "Instances",
|
||||
"manifest": "Project manifest",
|
||||
"create-new": "Create new project",
|
||||
"services": "Services",
|
||||
"rollback": "Rollback",
|
||||
"import-services-title": "Import your services",
|
||||
"import-services-body": "You can import your services from a Git repository hosting service. Learn more",
|
||||
"alt-import-services-title": "Alternatively, you can upload or edit manifest file",
|
||||
|
8
frontend/src/containers/project/feed.js
Normal file
8
frontend/src/containers/project/feed.js
Normal file
@ -0,0 +1,8 @@
|
||||
import React from 'react';
|
||||
import Section from './section';
|
||||
|
||||
export default (props) => (
|
||||
<Section {...props}>
|
||||
<p>Project Feed</p>
|
||||
</Section>
|
||||
);
|
@ -3,11 +3,13 @@ import { connect } from 'react-redux';
|
||||
import { Switch, Route } from 'react-router-dom';
|
||||
import PropTypes from '@root/prop-types';
|
||||
import Redirect from '@components/redirect';
|
||||
import ServicesSection from './services';
|
||||
import InstancesSection from './instances';
|
||||
import ServicesSection from './services';
|
||||
import PeopleSection from './people';
|
||||
import SettingsSection from './settings';
|
||||
import ManifestSection from './manifest';
|
||||
import FeedSection from './feed';
|
||||
import RollbackSection from './rollback';
|
||||
|
||||
import {
|
||||
orgByIdSelector,
|
||||
@ -16,10 +18,12 @@ import {
|
||||
} from '@state/selectors';
|
||||
|
||||
const SectionComponents = {
|
||||
'project-feed': FeedSection,
|
||||
services: ServicesSection,
|
||||
instances: InstancesSection,
|
||||
people: PeopleSection,
|
||||
settings: SettingsSection,
|
||||
rollback: RollbackSection,
|
||||
manifest: ManifestSection
|
||||
};
|
||||
|
||||
|
8
frontend/src/containers/project/rollback.js
Normal file
8
frontend/src/containers/project/rollback.js
Normal file
@ -0,0 +1,8 @@
|
||||
import React from 'react';
|
||||
import Section from './section';
|
||||
|
||||
export default (props) => (
|
||||
<Section {...props}>
|
||||
<p>Rollback</p>
|
||||
</Section>
|
||||
);
|
@ -539,11 +539,13 @@
|
||||
"member_status_tooltip": false,
|
||||
"member_role_tooltip": false,
|
||||
"sections": [
|
||||
"project-feed",
|
||||
"services",
|
||||
"instances",
|
||||
"rollback",
|
||||
"manifest",
|
||||
"people",
|
||||
"settings",
|
||||
"manifest"
|
||||
"settings"
|
||||
],
|
||||
"members_status": [
|
||||
"Active",
|
||||
|
Loading…
Reference in New Issue
Block a user