Produced by Araxis Merge on 12/14/2017 1:27:55 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | CUI-CPP-v2.3.2-source.zip\app\mailers | user_mailer.rb | Mon Nov 20 23:19:07 2017 UTC |
| 2 | CUI-CPP-v2.3.2-source.zip\app\mailers | user_mailer.rb | Wed Dec 13 22:14:31 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 7 | 128 |
| Changed | 6 | 16 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | class User Mailer < A pplication Mailer | |
| 2 | ||
| 3 | default fr om: " PII " | |
| 4 | ||
| 5 | ||
| 6 | #SUPPORT_R EQUEST_INB OX = ' PII ' | |
| 7 | SUPPORT _REQUEST_I NBOX = ENV ['SUPPORT_ REQUEST_IN BOX'] | |
| 8 | #SUPPORT_R EQUEST_INB OX_PRIMARY = " P I I " | |
| 9 | #SUPPORT_R EQUEST_INB OX_SECONDA RY = " P I I " | |
| 10 | #SUPPORT_R EQUEST_INB OX_TERTIAR Y = " P II " | |
| 11 | ||
| 12 | ||
| 13 | def wel come_email (email_add ress, mess age) | |
| 14 | custom_fro m = " PII " | |
| 15 | # mai l(from: cu stom_from, to: email _address, subject: ' Welcome to Clinician User Inte rface', bo dy: messag e) | |
| 16 | end | |
| 17 | ||
| 18 | def acc ess_reques t(new_user , app_admi n) | |
| 19 | @new _user = ne w_user | |
| 20 | @app _admin = a pp_admin | |
| 21 | # mai l(to: app_ admin.emai l, subject : 'Request for Acces s to CUI') | |
| 22 | end | |
| 23 | ||
| 24 | def acc ess_respon se(user) | |
| 25 | @use r = user | |
| 26 | # mai l(to: user .email, su bject: 'Re sponse to your Reque st for Acc ess to CUI ') | |
| 27 | end | |
| 28 | ||
| 29 | def sit e_access_r equest(new _user, sit e_admin, s ite, roles ) | |
| 30 | @new _user = ne w_user | |
| 31 | @sit e_admin = site_admin | |
| 32 | @sit e = site | |
| 33 | @rol es = roles | |
| 34 | # mai l(to: site _admin.ema il, subjec t: 'Reques t for Acce ss to CUI site: ' + site.name) | |
| 35 | end | |
| 36 | ||
| 37 | def sit e_access_r esponse(us er, site, roles) | |
| 38 | @use r = user | |
| 39 | @sit e = site | |
| 40 | @rol es = roles | |
| 41 | # mai l(to: user .email, su bject: 'Re sponse to your Reque st for Acc ess to CUI site: ' + site.name ) | |
| 42 | end | |
| 43 | ||
| 44 | def sen d_create_e xamination _email(use r) | |
| 45 | @user = user | |
| 46 | # mail (to: user. email, sub ject: 'Pen ding Reque st') | |
| 47 | end | |
| 48 | ||
| 49 | def send _create_ex am_request _email(use r) | |
| 50 | @user = user | |
| 51 | # mail( to: user.e mail, subj ect: 'New Exam Reque st') | |
| 52 | end | |
| 53 | ||
| 54 | def sen d_support_ request_co nfirmation (sr) | |
| 55 | @sup port_reque st = sr | |
| 56 | mail (to: SUPPO RT_REQUEST _INBOX, | |
| 57 | from: PII ', | |
| 58 | #cc:@sr.c ustomer_em ail, | |
| 59 | subject: "Issue: " + @support _request.i ssue_descr iption | |
| 60 | ) | |
| 61 | end | |
| 62 | ||
| 63 | def sen d_account_ unlock_con firmation_ email(user _email_add ress) | |
| 64 | mail (to: user_ email_addr ess, | |
| 65 | from: PII ', | |
| 66 | cc:SUPPOR T_REQUEST_ INBOX, | |
| 67 | subject: "Your CUI account ha s been unl ocked!" | |
| 68 | ) | |
| 69 | end | |
| 70 | ||
| 71 | ||
| 72 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.