Skip to content
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

Added unpublish action and moved set property from editable user forms #238

Closed
wants to merge 4 commits into from

Conversation

Neumes
Copy link
Contributor

@Neumes Neumes commented Dec 23, 2015

Tests pending

$fields = parent::getCMSFields();

$fields->addFieldsToTab('Root.Main', array(
TextField::create('Property', 'Property')->setRightTitle('Property to set; if this exists as a setter method, will be called passing the value'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be changed to use _t() for "Property to set" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I also change this to be have "Workflow" before Action in the class/file names?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure why not - stops any backwards compat issues with editable user forms then too :)

@Neumes
Copy link
Contributor Author

Neumes commented Dec 23, 2015

Commits updated per notes.

nyeholt pushed a commit that referenced this pull request Dec 23, 2015
@nyeholt
Copy link
Contributor

nyeholt commented Dec 23, 2015

Need a couple more changes, have merged this manually in a separate push

@nyeholt nyeholt closed this Dec 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants