summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorAnoop Jacob Thomas2010-10-21 17:27:53 +0530
committerAnoop Jacob Thomas2010-10-21 17:27:53 +0530
commite79828295f686606145d0c5916759d8f0f447cb4 (patch)
treee99c6d2d91303e25f4c564e98d0be99980185ba9 /project
parent394763a0952ffb45629fdeeac66f3cad510bb67a (diff)
downloadscipycon-e79828295f686606145d0c5916759d8f0f447cb4.tar.gz
scipycon-e79828295f686606145d0c5916759d8f0f447cb4.tar.bz2
scipycon-e79828295f686606145d0c5916759d8f0f447cb4.zip
Added publicity page.
Diffstat (limited to 'project')
-rw-r--r--project/templates/_menu.html1
-rw-r--r--project/templates/about/publicity.html11
-rw-r--r--project/urls.py3
3 files changed, 15 insertions, 0 deletions
diff --git a/project/templates/_menu.html b/project/templates/_menu.html
index 5674bf2..6fc79e1 100644
--- a/project/templates/_menu.html
+++ b/project/templates/_menu.html
@@ -62,6 +62,7 @@
-->
</ul>
</li>
+ <li><a href="/{% url scipycon_publicity params.scope %}">Publicity</a></li>
{% if user.is_staff %}
<li><a href="/{{ params.scope }}/howto/">HowTo</a></li>
{% endif %}
diff --git a/project/templates/about/publicity.html b/project/templates/about/publicity.html
new file mode 100644
index 0000000..71c6dea
--- /dev/null
+++ b/project/templates/about/publicity.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+{% block content %}
+<h1>Publicity Materials</h1>
+
+<div class="entry">
+<h2>Poster</h2>
+<p>
+<a href="/static/img/scipy-poster.png">Download Poster</a>
+</p>
+</div>
+{% endblock content %}
diff --git a/project/urls.py b/project/urls.py
index 2373b72..d98b84c 100644
--- a/project/urls.py
+++ b/project/urls.py
@@ -113,6 +113,9 @@ urlpatterns += patterns('',
url(r'^%s/talks-cfp/speakers/$' % (SCOPE_ARG_PATTERN),
direct_to_template, {"template": "talk/speakers.html"},
name='scipycon_speakers'),
+ url(r'^%s/publicity/$' % (SCOPE_ARG_PATTERN),
+ direct_to_template, {"template": "about/publicity.html"},
+ name='scipycon_publicity'),
)
# Password reset