app/soc/views/models/org_app.py
changeset 1754 63fa0e7f8f47
parent 1726 711c8dcab67e
child 1763 6bd59cad39a5
equal deleted inserted replaced
1753:564f3adf4acf 1754:63fa0e7f8f47
   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