adding in new menu items, their corresponding views and their locals for a project

This commit is contained in:
Alex Windett 2017-02-28 17:09:46 +00:00
parent 63dec8741f
commit f8c3da4bc6
5 changed files with 27 additions and 4 deletions

View File

@ -1,5 +1,6 @@
{ {
"your-dashboard": "Your dashboard", "your-dashboard": "Your dashboard",
"project-feed": "Project Feed",
"settings": "Settings", "settings": "Settings",
"projects": "Projects", "projects": "Projects",
"people": "People", "people": "People",
@ -7,7 +8,7 @@
"instances": "Instances", "instances": "Instances",
"manifest": "Project manifest", "manifest": "Project manifest",
"create-new": "Create new project", "create-new": "Create new project",
"services": "Services", "rollback": "Rollback",
"import-services-title": "Import your services", "import-services-title": "Import your services",
"import-services-body": "You can import your services from a Git repository hosting service. Learn more", "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", "alt-import-services-title": "Alternatively, you can upload or edit manifest file",

View File

@ -0,0 +1,8 @@
import React from 'react';
import Section from './section';
export default (props) => (
<Section {...props}>
<p>Project Feed</p>
</Section>
);

View File

@ -3,11 +3,13 @@ import { connect } from 'react-redux';
import { Switch, Route } from 'react-router-dom'; import { Switch, Route } from 'react-router-dom';
import PropTypes from '@root/prop-types'; import PropTypes from '@root/prop-types';
import Redirect from '@components/redirect'; import Redirect from '@components/redirect';
import ServicesSection from './services';
import InstancesSection from './instances'; import InstancesSection from './instances';
import ServicesSection from './services';
import PeopleSection from './people'; import PeopleSection from './people';
import SettingsSection from './settings'; import SettingsSection from './settings';
import ManifestSection from './manifest'; import ManifestSection from './manifest';
import FeedSection from './feed';
import RollbackSection from './rollback';
import { import {
orgByIdSelector, orgByIdSelector,
@ -16,10 +18,12 @@ import {
} from '@state/selectors'; } from '@state/selectors';
const SectionComponents = { const SectionComponents = {
'project-feed': FeedSection,
services: ServicesSection, services: ServicesSection,
instances: InstancesSection, instances: InstancesSection,
people: PeopleSection, people: PeopleSection,
settings: SettingsSection, settings: SettingsSection,
rollback: RollbackSection,
manifest: ManifestSection manifest: ManifestSection
}; };

View File

@ -0,0 +1,8 @@
import React from 'react';
import Section from './section';
export default (props) => (
<Section {...props}>
<p>Rollback</p>
</Section>
);

View File

@ -539,11 +539,13 @@
"member_status_tooltip": false, "member_status_tooltip": false,
"member_role_tooltip": false, "member_role_tooltip": false,
"sections": [ "sections": [
"project-feed",
"services", "services",
"instances", "instances",
"rollback",
"manifest",
"people", "people",
"settings", "settings"
"manifest"
], ],
"members_status": [ "members_status": [
"Active", "Active",