Implement a send started email feature.
authorDiane Trout <diane@caltech.edu>
Thu, 20 Aug 2009 23:40:12 +0000 (23:40 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 20 Aug 2009 23:40:12 +0000 (23:40 +0000)
commitbce3c9b6e83373cd7d9627ad57c14f2056075a1c
treece2cfb0fa265e9edfb0e6d1e47612ca6ff628006
parent1a394a805d69b6320190144337dbd29cc01a5d5e
Implement a send started email feature.

The UI is linked to from the admin page by overriding the django
admin change_form for experments/flowcell to include an new link
in the object-tools block.

The actual page is implemented as a custom view. Its designed to
render the emails to a preview page, and then, at the bottom
of the page there's a button to actually send the emails.

It'll re-load the page but with a small status message about
what happened with the email in question.

Additionally this requires that users be attached to affiliations
and that users have email addresses.

I forgot we were also going to extract an email address from the
affiliation as well, if it was set.
htsworkflow/frontend/experiments/experiments.py
htsworkflow/frontend/experiments/urls.py
htsworkflow/frontend/experiments/views.py
htsworkflow/frontend/samples/models.py
htsworkflow/frontend/settings.py
htsworkflow/frontend/templates/admin/experiments/flowcell/change_form.html [new file with mode: 0644]
htsworkflow/frontend/templates/experiments/email_preview.html [new file with mode: 0644]
htsworkflow/frontend/templates/experiments/index.html
htsworkflow/frontend/templates/experiments/started_email.html [new file with mode: 0644]