Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

RND-349 Fundraise ESU #537

Merged
merged 10 commits into from
Sep 26, 2016
Merged

Conversation

bimsonz
Copy link
Contributor

@bimsonz bimsonz commented Sep 23, 2016

Fixes https://jira.comicrelief.com/browse/RND-349

Changes proposed in this pull request

  • Add fundraise ESU child class...
  • Add fundraise ESU block...
  • Extend behat test
  • Add config to profile

set classes = [
'block-cr-email-signup',
'block--cr-email-signup',
'block--cr-email-signup--standard',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@AndyEPhipps @gusliedke I've added the standard class as im under the impression its to look like the standard one, feel free to change if you need to make any new rules or tweaks

Copy link
Contributor

Choose a reason for hiding this comment

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

@bimsonz: think we'll need to add another class this to hide/show the right stuff after the single submission.

Something like 'block--cr-email-signup--fundraising' or better yet 'block--cr-email-signup--simple' so it describes the type rather than the context it's normally used in?

Holla when the BE is done and i'll scope it out

Holla when you're done with the BE and will give it a lil tweak

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The backend is done @AndyEPhipps, We went in a different direction with this, its now a separate block. Check the platform sh site, should be set up on there :)

@bimsonz bimsonz changed the title PLAT-349 Fundraise ESU RND-349 Fundraise ESU Sep 23, 2016
@bimsonz
Copy link
Contributor Author

bimsonz commented Sep 26, 2016

@Saphyel Could you review and merge please mate? We'll chat about your changes to the classes once your back :) the ticket is RND-349 not PLAT- just to be clear!

/**
* {@inheritdoc}
*/
protected function esuRequiredFields() {
Copy link
Contributor

Choose a reason for hiding this comment

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

you can cast out this whole function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

care to elaborate a little please dude ?

Copy link
Contributor

@Saphyel Saphyel Sep 26, 2016

Choose a reason for hiding this comment

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

You are extending the class SignUp and already provides that form.. so I don't know why do you want to duplicate the form

@Saphyel
Copy link
Contributor

Saphyel commented Sep 26, 2016

it looks good if you change that

@Saphyel Saphyel merged commit 3c3fdca into develop Sep 26, 2016
@Saphyel Saphyel deleted the feature/PLAT-349_option_to_remove_schools_esu branch September 26, 2016 13:14
@bimsonz bimsonz mentioned this pull request Sep 29, 2016
@pvhee pvhee mentioned this pull request Jan 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants