# HG changeset patch
# User nishanth
# Date 1279609244 -19800
# Node ID c9ae768c55b7f003afc91b8bdfc9f47cdc10e589
# Parent 02a5304a2c5f374128402cd5f50b0fb7f1a7f157
updated the thankyou template and made change in view accordingly
diff -r 02a5304a2c5f -r c9ae768c55b7 sdi/views.py
--- a/sdi/views.py Tue Jul 20 12:16:50 2010 +0530
+++ b/sdi/views.py Tue Jul 20 12:30:44 2010 +0530
@@ -230,7 +230,9 @@
user_info.status_of_attending_sagedays = "3"
user_info.save()
- return render_to_response("attending_sgd.html")
+ acco_required = user.acco_required
+
+ return render_to_response("attending_sgd.html", {"acco_required":acco_required})
else:
return render_to_response("cnf_sgd_ptc.html", {"user":user})
diff -r 02a5304a2c5f -r c9ae768c55b7 templates/attending_sgd.html
--- a/templates/attending_sgd.html Tue Jul 20 12:16:50 2010 +0530
+++ b/templates/attending_sgd.html Tue Jul 20 12:30:44 2010 +0530
@@ -4,7 +4,11 @@
{% endblock %}
{% block content %}
Thank you for confirming your participation in Sage Days.
-Please visit Installing Python and other pachages on your distro for instructions on installing software needed for Sage Days 25, on your laptop.
-This page can be revisited by clicking on the link that was sent to your mail.
+Please make sure you are present at the venue by 8:30am on 9th Aug, 2010.
+
+
+{% if acco_required %}
+The status of your accomodation will be mailed to you shortly.
+{% endif %}
{% endblock %}