# HG changeset patch
# User nishanth
# Date 1279305463 -19800
# Node ID 54ced1b9e0108e2c66f20a3c3a66ce07ba24e257
# Parent c03a2b66ea097627bf7a6876594c106bcc0020c0
fixed a typo and added new template for confirmation of sending mail to selected participants
diff -r c03a2b66ea09 -r 54ced1b9e010 sdi/views.py
--- a/sdi/views.py Sat Jul 17 00:02:18 2010 +0530
+++ b/sdi/views.py Sat Jul 17 00:07:43 2010 +0530
@@ -140,11 +140,11 @@
if request.method == "POST" and form.is_valid():
selected_users = form.cleaned_data['selected_users']
for user in selected_users:
- user_info = user.registrantinto.all()[0]
+ user_info = user.registrantinfo.all()[0]
user_info.status_of_attending_sagedays = "2"
user_info.save()
- return render_to_response("sent_wsp_confirm.html", {"selected_users":selected_users})
+ return render_to_response("sent_sgd_confirm.html", {"selected_users":selected_users})
else:
return render_to_response("send_sgd_cnf.html", {"attending":attending_ppl,
"not_confirmed":not_confirmed_ppl,
diff -r c03a2b66ea09 -r 54ced1b9e010 templates/send_sgd_cnf.html
--- a/templates/send_sgd_cnf.html Sat Jul 17 00:02:18 2010 +0530
+++ b/templates/send_sgd_cnf.html Sat Jul 17 00:07:43 2010 +0530
@@ -17,7 +17,7 @@
{% endfor %}
-Not Confirmed Ppl:
+Selected but not Confirmed Ppl: