summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/scipycon/talk/views.py9
-rw-r--r--project/templates/_menu.html5
-rw-r--r--project/templates/talk/download-videos.html44
-rw-r--r--project/urls.py3
4 files changed, 61 insertions, 0 deletions
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 <font color="red">(New)</font>
</a>
</li>
+ <li>
+ <a href="{% url scipycon_download_videos params.scope %}">
+ Download Videos <font color="red">(New)</font>
+ </a>
+ </li>
<li><a href="/{{ params.scope }}/submit-registration/">Registration</a></li>
<li>
<ul>
diff --git a/project/templates/talk/download-videos.html b/project/templates/talk/download-videos.html
new file mode 100644
index 0000000..e68f680
--- /dev/null
+++ b/project/templates/talk/download-videos.html
@@ -0,0 +1,44 @@
+{% extends "base.html" %}
+
+{% block title %}Talk Videos{% endblock %}
+
+{% block content %}
+<h1>Videos for Download</h1>
+<h2>First day talks </h2>
+<p>
+ <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-1.ogv">
+ Part 1
+ </a>
+&nbsp;
+ <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-2.ogv">
+ Part 2
+ </a>
+&nbsp;
+ <!-- <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-3.ogv"> -->
+ <!-- Part 3 -->
+ <!-- </a> -->
+ <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-4.ogv">
+ Part 4
+ </a>
+
+ <br />
+ <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-5.ogv">
+ Part 5
+ </a>
+&nbsp;
+ <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-6.ogv">
+ Part 6
+ </a>
+&nbsp;
+ <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-7.ogv">
+ Part 7
+ </a>
+&nbsp;
+ <a href="http://www.fossee.in/sitefiles/Videos/SciPy_in_2010/first-day-part-8.ogv">
+ Part 8
+ </a>
+<br />
+<br />
+<h3> This is an incomplete list we shall add more videos in the coming days. </h3>
+</p><br />
+{% endblock content %}
diff --git a/project/urls.py b/project/urls.py
index 5680ddd..dbf3dd8 100644
--- a/project/urls.py
+++ b/project/urls.py
@@ -43,6 +43,9 @@ urlpatterns += patterns('project.scipycon.talk.views',
'list_talks', name='scipycon_list_talk'),
url(r'^%s/download_slides/$' % (SCOPE_ARG_PATTERN),
'download_slides', name='scipycon_download_slides'),
+ url(r'^%s/download_videos/$' % (SCOPE_ARG_PATTERN),
+ 'download_videos', name='scipycon_download_videos'),
+
)
# Registration