summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusudan.C.S2009-12-09 22:57:33 +0530
committerMadhusudan.C.S2009-12-09 22:57:33 +0530
commit7cbf1848a85ab24d3b96586035630a2d91ea8649 (patch)
treeee1a72c6ba8483c926b9bcf9e919e02c0c4e5c1d
parent2d4a9eb6613c2c5ba1b06ab617602ae134d9268c (diff)
downloadscipycon-7cbf1848a85ab24d3b96586035630a2d91ea8649.tar.gz
scipycon-7cbf1848a85ab24d3b96586035630a2d91ea8649.tar.bz2
scipycon-7cbf1848a85ab24d3b96586035630a2d91ea8649.zip
Added selected talks list.
-rw-r--r--project/kiwipycon/talk/views.py6
-rw-r--r--project/templates/about/reaching.html16
2 files changed, 10 insertions, 12 deletions
diff --git a/project/kiwipycon/talk/views.py b/project/kiwipycon/talk/views.py
index a595158..017bcd3 100644
--- a/project/kiwipycon/talk/views.py
+++ b/project/kiwipycon/talk/views.py
@@ -182,13 +182,11 @@ def submit_talk(request, template_name='talk/submit-talk.html'):
'login_form' : login_form
}))
-@login_required
-def list_talks(request, id, template_name='talk/list-talks.html'):
+def list_talks(request, template_name='talk/list-all-talks.html'):
'''List all the tasks submitted by a user.
'''
- speaker = User.objects.get(pk=id)
- talks = Talk.objects.filter(speaker=speaker)
+ talks = Talk.objects.filter(approved=True)
return render_to_response(template_name, RequestContext(request, {
'talk_list': talks,
diff --git a/project/templates/about/reaching.html b/project/templates/about/reaching.html
index b5ff0ec..00586f3 100644
--- a/project/templates/about/reaching.html
+++ b/project/templates/about/reaching.html
@@ -1,22 +1,22 @@
{% extends "base.html" %}
{% block content %}
<h1>How to reach the venue?</h1>
-<p>Once you reach Trivandrum Central Station, you can reach Technopark by
+<p class="noindent">Once you reach Trivandrum Central Station, you can reach Technopark by
bus, taxi or an autorickshaw.</p>
-<p>To take a bus to Technopark, you need to go to the Thampanoor bus stand
+<p class="noindent">To take a bus to Technopark, you need to go to the Thampanoor bus stand
located opposite to the Trivandrum central railway station and board a bus
that leaves for Kollam. The ticket costs you about Rs.20. You must get
down at Kazhakuttam stop. From there you must hire an autorickshaw to
Technopark. Auto fare to Technopark is between Rs.10-15.</p>
-<p>Air conditioned volvo buses to Technopark are available from East fort
+<p class="noindent">Air conditioned volvo buses to Technopark are available from East fort
which is approximately 1km from Trivandrum Central Railway Station.</p>
-<p>Timings of KSRTC volvo A/C buses from East fort that reaches Technopark
+<p class="noindent">Timings of KSRTC volvo A/C buses from East fort that reaches Technopark
are at:</p>
-<p>
+<p class="noindent">
<table class="kiwipycon-default">
<tr><th>From East fort</th><th>Reaches Technopark at</th></tr>
<tr><td>6:00AM</td><td>6:40AM</td></tr>
@@ -27,15 +27,15 @@ are at:</p>
</table>
</p>
-<p>You can also take a taxi to Technopark from outside the Thampanoor central
+<p class="noindent">You can also take a taxi to Technopark from outside the Thampanoor central
railway station. Taxi fare is about Rs 350.</p>
-<p>You can even take an autorickshaw to Technopark from the the prepaid
+<p class="noindent">You can even take an autorickshaw to Technopark from the the prepaid
autorickshaw stand infront of Trivandrum central railway station. Prepaid
auto fare to technopark is about Rs.125 upto the front gate of technopark
and about Rs.25 more to the campus.</p>
-<p>From Thiruvananthapuram Airport, you can take a a taxi to Technopark
+<p class="noindent">From Thiruvananthapuram Airport, you can take a a taxi to Technopark
which will cost about Rs 300. Taking an auto to technopark costs about
Rs 200.</p>
{% endblock content %} \ No newline at end of file