Added publicity page.
authorAnoop Jacob Thomas<anoop@fossee.in>
Thu, 21 Oct 2010 17:27:53 +0530
changeset 176 6a95fa45edf2
parent 175 a51d2b6e9a78
child 177 3a98e4cbcfde
Added publicity page.
project/templates/_menu.html
project/templates/about/publicity.html
project/urls.py
--- a/project/templates/_menu.html	Mon Oct 18 23:29:05 2010 +0530
+++ b/project/templates/_menu.html	Thu Oct 21 17:27:53 2010 +0530
@@ -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 %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project/templates/about/publicity.html	Thu Oct 21 17:27:53 2010 +0530
@@ -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 %}
--- a/project/urls.py	Mon Oct 18 23:29:05 2010 +0530
+++ b/project/urls.py	Thu Oct 21 17:27:53 2010 +0530
@@ -113,6 +113,9 @@
     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