Merge lp:~deadlight/canonical-identity-provider/email-template into lp:~deadlight/canonical-identity-provider/vanilla
Proposed by
Karl Williams
on 2019-08-29
Status: | Merged |
---|---|
Approved by: | Karl Williams on 2019-08-30 |
Approved revision: | 1715 |
Merged at revision: | 1715 |
Proposed branch: | lp:~deadlight/canonical-identity-provider/email-template |
Merge into: | lp:~deadlight/canonical-identity-provider/vanilla |
Diff against target: |
393 lines (+274/-17) 2 files modified
src/identityprovider/emailutils.py (+27/-17) src/webui/templates/email/html/email.html (+247/-0) |
To merge this branch: | bzr merge lp:~deadlight/canonical-identity-provider/email-template |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anthony Dillon (community) | 2019-08-29 | Approve on 2019-08-30 | |
Review via email:
|
Description of the change
Added an HTML email template
QA:
In terminal 1:
- npm i
- ./node_
- source env/bin/activate
- make start-db
- make run
In terminal 2:
- source env/bin/activate
- make mail-debug
- Visit http://[CONTAINER IP]:8000/
- Create an account
- Check the output of terminal 2 and see the email text
- Copy the HTML email into a file and open it in a browser to view ityo
To post a comment you must log in.
Karl Williams (deadlight) wrote : | # |
Example email output: https:/ /pastebin. canonical. com/p/77QvsTF4B Y/