Adds a data migration to replace "Duke Data Service" in email templates with "{{ service_name }}
Updates email context dictionaries to include service_name
Adds a function to generate acceptance urls
Fixes #140
Tested in local development instance with the genomic-analysis email templates:
DDS steps:
Loaded the data from current production server to my local django instance
Set local passwords for django user accounts dcl9@duke.edu and jpb67@duke.edu
Set email template set for dcl9 to be genomic-analysis
Adds a data migration to replace "Duke Data Service" in email templates with "{{ service_name }} Updates email context dictionaries to include
service_name
Adds a function to generate acceptance urlsFixes #140
Tested in local development instance with the genomic-analysis email templates:
DDS steps:
Attempted to verify share emails working as expected, but encountered #144
S3 Steps:
Repeated testing from https://github.com/Duke-GCB/D4S2/pull/139#issuecomment-384396431. Confirmed accept and decline emails sent as expected