-
Notifications
You must be signed in to change notification settings - Fork 80
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
Adding choice to exclude form submission data from email notifications #55
base: master
Are you sure you want to change the base?
Conversation
'wagtailstreamforms/models/form.py:352:18: E222 multiple spaces after operator'
Codecov Report
@@ Coverage Diff @@
## master #55 +/- ##
==========================================
- Coverage 99.83% 98.69% -1.15%
==========================================
Files 14 14
Lines 610 613 +3
Branches 58 59 +1
==========================================
- Hits 609 605 -4
- Misses 0 6 +6
- Partials 1 2 +1
Continue to review full report at Codecov.
|
Hi @NathanQ, Sorry for the lack of response. Thanks for the above. There might be some stuff in this area we also may want to do. Will try to gather our requirements this week and report back. Thanks |
Hi @NathanQ Hope you had a good xmas. We have finally been able to give this a bit more thought and have the following ideas.
What do you think for starters? We are more than happy to pick this up in the next few days and can use your pr for ref. Hope this doesn't trample on anything, this is not our intention. Cheers, Stu |
Hi @stuartaccent, Thank you for considering my request. I'd be happy to take on the first two bullets. The email template gets a little hairy with adding submitted context to a saved template. May consider taking a stab at it if it were something like what Stripe does where one can only can change a header and, maybe, the footer for a bit of personalization. Thanks again! |
Hi @NathanQ Forget the template maybe we will pick this up later, was just an idea. With regards to the other two, if you want to pick these up awesome, if not I will have a look when i get a chance. prob in the next few days. Cheers, Stu |
Hi @AccentDesign team,
We had a requirement to exclude the form data from the email notifications so I added a field
exclude_form_data
from form submission notifications. Setting default to true (because our needs, ha!) and, when true, the submission notification includes the form submission list url for the notified to go check it out.For the link to the list to work, the settings require the
'django.contrib.sites'
to be included in the installed apps and theSITE_ID
to be set, i.e.,SITE_ID = 1
I hope this doesn't add too much complexity and adds value.
Thanks for the great app,
Nathan