diff --git a/i18n/english.yml b/i18n/english.yml index 37877c077..e3963f9ec 100644 --- a/i18n/english.yml +++ b/i18n/english.yml @@ -456,6 +456,7 @@ components: save: Save title: Settings ProjectSettingsForm: + cancel: Cancel confirmDelete: Are you sure you want to delete this project? This action cannot be undone and all feed sources and their versions will be permanently deleted. deleteProject: Delete Project? fields: diff --git a/i18n/espanol.yml b/i18n/espanol.yml index ebb09b2c0..fa94f35a9 100644 --- a/i18n/espanol.yml +++ b/i18n/espanol.yml @@ -452,6 +452,7 @@ components: save: Save title: Settings ProjectSettingsForm: + cancel: Cancel confirmDelete: Are you sure you want to delete this project? This action cannot be undone and all feed sources and their versions will be permanently deleted. deleteProject: Delete Project? fields: diff --git a/i18n/francais.yml b/i18n/francais.yml index 35be5214b..39feb9d95 100644 --- a/i18n/francais.yml +++ b/i18n/francais.yml @@ -451,6 +451,7 @@ components: save: Save title: Settings ProjectSettingsForm: + cancel: Cancel confirmDelete: Are you sure you want to delete this project? This action cannot be undone and all feed sources and their versions will be permanently deleted. deleteProject: Delete Project? fields: diff --git a/lib/manager/components/CreateFeedSource.js b/lib/manager/components/CreateFeedSource.js index bcc93e18b..cc432d4fb 100644 --- a/lib/manager/components/CreateFeedSource.js +++ b/lib/manager/components/CreateFeedSource.js @@ -182,6 +182,12 @@ export default class CreateFeedSource extends Component { + - ) diff --git a/lib/manager/components/CreateProject.js b/lib/manager/components/CreateProject.js index 3cb28ec3c..978d41520 100644 --- a/lib/manager/components/CreateProject.js +++ b/lib/manager/components/CreateProject.js @@ -29,6 +29,7 @@ export default class CreateProject extends Component {

Create New Project

diff --git a/lib/manager/components/ProjectSettings.js b/lib/manager/components/ProjectSettings.js index 4f853c077..ba28242f5 100644 --- a/lib/manager/components/ProjectSettings.js +++ b/lib/manager/components/ProjectSettings.js @@ -39,6 +39,7 @@ export default class ProjectSettings extends MessageComponent { ? this.setState({ model }) } + _onCancel = () => { + browserHistory.push(this.props.onCancelUrl) + } + _onDeleteProject = () => { const {deleteProject, project} = this.props if (!deleteProject) { @@ -463,6 +469,13 @@ export default class ProjectSettingsForm extends MessageComponent } + {/* Cancel button */} + {/* Save button */}