equal
deleted
inserted
replaced
208 |
208 |
209 if status == 'accepted': |
209 if status == 'accepted': |
210 # use the accepted template and subject |
210 # use the accepted template and subject |
211 template = params['accepted_mail_template'] |
211 template = params['accepted_mail_template'] |
212 context['subject'] = 'Congratulations!' |
212 context['subject'] = 'Congratulations!' |
213 context['HTTP_host'] = os.environ['HTTP_HOST'] |
213 context['HTTP_host'] = 'http://%s' %(os.environ['HTTP_HOST']) |
214 elif status == 'rejected': |
214 elif status == 'rejected': |
215 # use the rejected template and subject |
215 # use the rejected template and subject |
216 template = params['rejected_mail_template'] |
216 template = params['rejected_mail_template'] |
217 context['subject'] = 'Thank you for your application' |
217 context['subject'] = 'Thank you for your application' |
218 |
218 |