From bf12d8230b6548152d5459b41d4e5ed81bd7fbfc Mon Sep 17 00:00:00 2001 From: Amit Sethi Date: Wed, 29 Dec 2010 15:12:28 +0530 Subject: Changes to put a download videos link and page on scipy.in --- project/scipycon/talk/views.py | 9 ++++++ project/templates/_menu.html | 5 ++++ project/templates/talk/download-videos.html | 44 +++++++++++++++++++++++++++++ project/urls.py | 3 ++ 4 files changed, 61 insertions(+) create mode 100644 project/templates/talk/download-videos.html diff --git a/project/scipycon/talk/views.py b/project/scipycon/talk/views.py index d00aad7..62ae38d 100644 --- a/project/scipycon/talk/views.py +++ b/project/scipycon/talk/views.py @@ -214,3 +214,12 @@ def download_slides(request, scope): return render_to_response(template_name, RequestContext(request, { 'params': {'scope': scope}, })) + +def download_videos(request, scope): + """View that gives users the link to the videos + """ + + template_name = 'talk/download-videos.html' + return render_to_response(template_name, RequestContext(request, { + 'params': {'scope': scope}, + })) diff --git a/project/templates/_menu.html b/project/templates/_menu.html index 470f9a8..7cfa57d 100644 --- a/project/templates/_menu.html +++ b/project/templates/_menu.html @@ -6,6 +6,11 @@ Download Slides (New) +
+
+ Part 1
+
+
+
+ Part 2
+
+
+
+
+
+
+ Part 4
+
+
+
+
+ Part 5
+
+
+
+ Part 6
+
+
+
+ Part 7
+
+
+
+ Part 8
+
+
+
+