updated the thankyou template and made change in view accordingly anoop
authornishanth
Tue, 20 Jul 2010 12:30:44 +0530
branchanoop
changeset 138 c9ae768c55b7
parent 137 02a5304a2c5f
child 139 7eaaecef80f6
updated the thankyou template and made change in view accordingly
sdi/views.py
templates/attending_sgd.html
--- 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})
 
--- 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.<br /><br />
-Please visit <a href="">Installing Python and other pachages on your distro</a> for instructions on installing software needed for Sage Days 25, on your laptop.<br /><br />
-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.
+<br /><br />
+
+{% if acco_required %}
+The status of your accomodation will be mailed to you shortly.
+{% endif %}
 {% endblock %}