-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/save revision no conflict #240
Feature/save revision no conflict #240
Conversation
Allows for revisions to be saved without going through the approval process
@@ -358,10 +359,12 @@ const routes = application => { | |||
return next(); | |||
} | |||
|
|||
// Validation | |||
const validated = content.form.validate(req.body, type); | |||
if (req.body.submit === 'Save Revision') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can Save Revision
be added to config so that we don't have to control what this text is in multiple places?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yah, but we nreally really need to get these things out of config and replace them with #63
@Snugug 3 responses. Indentation ones...meh, moving the text to config...not meh |
Merge conflicts makes tabs not spaces and breaks all the happy things
Now we can save revisions!
Resolves #221
DCO 1.1 Signed-off-by: Sam Richard <sam@snug.ug>