equal
deleted
inserted
replaced
34 def send_wsp_ptc_confirm(user): |
34 def send_wsp_ptc_confirm(user): |
35 """ send a mail telling a worksho has been scheduled. |
35 """ send a mail telling a worksho has been scheduled. |
36 """ |
36 """ |
37 |
37 |
38 subject = "Sage Days 25, India - Python Workshop" |
38 subject = "Sage Days 25, India - Python Workshop" |
|
39 |
|
40 subject_cancellation = "Sage Days 25, India - Cancellation of Python Workshop" |
|
41 |
|
42 message_cancellation = """ |
|
43 Dear %s %s, |
|
44 |
|
45 We are sorry to announce that we are cancelling the one day Pre-Sage Days |
|
46 workshop which was scheduled on July 31st. |
|
47 |
|
48 It has been cancelled due to low response from the people who requested |
|
49 for the workshop. |
|
50 |
|
51 Thanking you, |
|
52 |
|
53 Sage Days India Team, |
|
54 FOSSEE, IIT Bombay. |
|
55 """%(user.first_name.title(), user.last_name.title(), user.id, user.email) |
39 |
56 |
40 message = """ |
57 message = """ |
41 Dear %s %s, |
58 Dear %s %s, |
42 |
59 |
43 Till now, only one person has confirmed to attend pre-"Sage Days" Python workshop. If there is very little interest for the workshop, there is no point in conducting a workshop. We will hence be forced to annul the workshop. So please confirm your participation in the workshop by 29th July, 2010 afternoon. |
60 Till now, only one person has confirmed to attend pre-"Sage Days" Python workshop. If there is very little interest for the workshop, there is no point in conducting a workshop. We will hence be forced to annul the workshop. So please confirm your participation in the workshop by 29th July, 2010 afternoon. |
67 |
84 |
68 Sage Days India Team, |
85 Sage Days India Team, |
69 FOSSEE, IIT Bombay. |
86 FOSSEE, IIT Bombay. |
70 """%(user.first_name.title(), user.last_name.title(), user.id, user.email) |
87 """%(user.first_name.title(), user.last_name.title(), user.id, user.email) |
71 |
88 |
72 send_mail(subject, message, "sagedays@fossee.in", [user.email]) |
89 send_mail(subject_cancellation, message_cancellation, "sagedays@fossee.in", [user.email]) |
73 |
90 |
74 |
91 |
75 def send_sgd_ptc_confirm(user): |
92 def send_sgd_ptc_confirm(user): |
76 """ send a mail telling that you have been selected to attend sage days. |
93 """ send a mail telling that you have been selected to attend sage days. |
77 """ |
94 """ |