Browse Source

Add link to stores page in footer

master
David Winterbottom 13 years ago
parent
commit
a63e4cd5cc
3 changed files with 14 additions and 2 deletions
  1. 1
    1
      Makefile
  2. 2
    1
      requirements_demo.txt
  3. 11
    0
      sites/demo/templates/partials/footer.html

+ 1
- 1
Makefile View File

@@ -25,7 +25,7 @@ geoip:
25 25
 	gunzip GeoLiteCity.dat.gz
26 26
 	mv GeoLiteCity.dat sites/demo/geoip
27 27
 
28
-demo: install geoip
28
+demo: install
29 29
 	pip install -r requirements_demo.txt --use-mirrors
30 30
 	-rm -f sites/demo/db.sqlite
31 31
 	# Create database

+ 2
- 1
requirements_demo.txt View File

@@ -1,4 +1,5 @@
1 1
 # We link directly to the master branch of stores to pick up a few Oscar 0.5 fixes.
2
--e git+https://github.com/tangentlabs/django-oscar-stores@3532f03f9f27b708b6b3f84c7aa917a5712fdd1e#egg=django_oscar_stores-dev
2
+-e git+https://github.com/tangentlabs/django-oscar-stores@master#egg=django_oscar_stores-dev
3 3
 
4
+# We need PostGIS and all that jazz
4 5
 psycopg2==2.5

+ 11
- 0
sites/demo/templates/partials/footer.html View File

@@ -0,0 +1,11 @@
1
+{% load i18n %}
2
+<footer class="footer container-fluid">
3
+    {% block footer %}
4
+        <ul class="footer_links">   
5
+			<li><a href="/about/">{% trans "About" %}</a></li>
6
+            {# Add link to stores page #}
7
+			<li><a href="/stores/">{% trans "Stores" %}</a></li>
8
+            <li class="top_page"><a href="#top_page"><i class="icon-sort-up hidden-phone"></i> {% trans "Top of the page" %}</a></li>
9
+        </ul>
10
+    {% endblock %}
11
+</footer>

Loading…
Cancel
Save