late confirmations will be redirected to a new page. anoop
authoranoop
Sat, 31 Jul 2010 20:16:59 +0530
branchanoop
changeset 201 e272a7fcdbaa
parent 200 16afdd7baa9d
child 202 9ee78481e7cd
late confirmations will be redirected to a new page.
sdi/views.py
templates/late_for_confirmation.html
--- a/sdi/views.py	Sat Jul 31 19:39:25 2010 +0530
+++ b/sdi/views.py	Sat Jul 31 20:16:59 2010 +0530
@@ -229,6 +229,9 @@
     elif status != "2":
         raise Http404
 
+    if uid < 157:
+        return render_to_response("late_for_confirmation.html", {"user":user})
+
     participant_info = ParticipantInfo()
     participant_info.participant = user
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/late_for_confirmation.html	Sat Jul 31 20:16:59 2010 +0530
@@ -0,0 +1,17 @@
+{% extends 'base.html' %}
+{% block title %}
+Sorry! you are late.
+{% endblock %}
+{% block content %}
+You are late for confirmation, if you really want to attend Sage Days 25, send a mail to sagedays@fossee.in.
+<br />
+You request via mail will be considered only if any seat is vacant. You will receive a confirmation by mail, if you are selected.
+{% if user.acco_required %}
+<br />
+Mostly you may have to arrange for accommodation yourself, as you are late in confirming.
+<br />
+{% endif %}
+<br />
+Please mail your queries (if any) to sagedays@fossee.in
+{% endblock %}
+