created template for displaying the ppl whom acco confirm mail was sent to anoop
authornishanth
Wed, 21 Jul 2010 17:37:52 +0530
branchanoop
changeset 159 f2f389e688fb
parent 158 f39310ac2245
child 160 2f01af211af9
created template for displaying the ppl whom acco confirm mail was sent to
sdi/views.py
templates/sent_acco_confirm.html
--- a/sdi/views.py	Wed Jul 21 17:32:13 2010 +0530
+++ b/sdi/views.py	Wed Jul 21 17:37:52 2010 +0530
@@ -184,7 +184,7 @@
             user_info.status_of_accomodation = "2"
             user_info.save()
         
-        return render_to_response("sent_sgd_confirm.html", {"selected_users":selected_users})
+        return render_to_response("sent_acco_confirm.html", {"selected_users":selected_users})
     else:
         return render_to_response("send_acco_cnf.html", {"rejected": rejected_ppl,
                                                         "selected_not_confirmed":selected_not_confirmed_ppl,
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/sent_acco_confirm.html	Wed Jul 21 17:37:52 2010 +0530
@@ -0,0 +1,13 @@
+{% extends 'base.html' %}
+{% block title %}
+Sent Accomodation Confirmation
+{% endblock %}
+{% block content %}
+Confirmation mail was sent to the following users
+<ul>
+{%  for u in selected_users %}
+<li> {{u}} </li>
+{% endfor %}
+</ul>
+<a href="/sage_days/registration/send_acco_cnf">Return to previous page</a>
+{% endblock %}