email user invitations 0.7
This commit is contained in:
parent
476c28819b
commit
d0c7a8fbfa
|
@ -144,11 +144,8 @@ class PersonInvitation(models.Model):
|
|||
|
||||
def send(self):
|
||||
subject = 'Invitation to join the India Theatre Forum'
|
||||
link = 'http://%s/invitation/accept/%s/' % (
|
||||
SITE_HOST,
|
||||
self.invite_code,
|
||||
)
|
||||
template = get_template('modules/itfprofiles/invitation_email.txt')
|
||||
template = get_template('/itfprofiles/invitation_email.txt')
|
||||
link = 'http://%s/invitation/accept/%s/' % ( "test.theatreforum.in", self.invite_code, )
|
||||
|
||||
context = Context({
|
||||
'name': str(self.invitee.first_name) + str(self.invitee.last_name),
|
||||
|
|
|
@ -71,6 +71,7 @@ def friend_invite(request):
|
|||
|
||||
#return HttpResponseRedirect('/invitation/invite/')
|
||||
else:
|
||||
context = {'form': form}
|
||||
return render_to_response('test/popup.html', context)
|
||||
|
||||
else:
|
||||
|
|
16
itf/templates/modules/itfprofiles/invitation_email.txt
Normal file
16
itf/templates/modules/itfprofiles/invitation_email.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
Hi {{ name }},
|
||||
|
||||
{{ sender }} connected to you at India Theatre Forum.
|
||||
|
||||
To accept the invitation, please click the link below:
|
||||
{{ link }}
|
||||
|
||||
Who we are.. Our roots.. And The vision..
|
||||
|
||||
Since the summer of 2006, a number of theatre practitioners, scholars and theatre lovers have come together under the aegis of the India Theatre Forum (ITF) to try and create a national resource for theatre and a meeting ground for all those who wish to take on the public responsibility of laying the grounds for excellence and diversity in theatrical endeavour.
|
||||
|
||||
The question that led to the creation of the ITF was: can this happenstance become the norm?
|
||||
Can we overcome what we see as limitations, can we learn to identify and recognize opportunities and openings, can we think in terms of long-term growth and sustenance? Such work cannot be done in isolation, but requires the coming together of dedicated and experienced people who have an abiding interest in the field of theatre, and who represent the diverse knowledge and experience base of theatre in this country. It requires the constant exchange of ideas and information, as well as intensive and open debate and discussion.
|
||||
|
||||
--
|
||||
India Theatre Forum
|
Loading…
Reference in New Issue
Block a user