styling legal stuff

This commit is contained in:
Thomas Steen Rasmussen 2016-06-01 14:05:11 +02:00
parent e3e72cd6a8
commit f108317031
3 changed files with 4 additions and 7 deletions

View file

@ -75,8 +75,8 @@
<footer class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
{% block footer %}
<a href="{% url 'shop:general-terms' %}">General Terms &amp; Conditions</a>
<a href="{% url 'shop:privacy-policy' %}">Privacy Policy</a> |
<a href="{% url 'shop:general-terms' %}">General Terms &amp; Conditions</a> |
<a href="{% url 'shop:privacy-policy' %}">Privacy Policy</a>
{% endblock %}
</div>
</footer>

View file

@ -49,6 +49,7 @@ urlpatterns = [
include('news.urls', namespace='news')
),
url(r'^accounts/', include('allauth.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'privacy-policy/$', TemplateView.as_view(template_name='legal/privacy_policy.html'), name='privacy-policy'),
url(r'general-terms-and-conditions/$', TemplateView.as_view(template_name='legal/general_terms_and_conditions.html'), name='general-terms')
]

View file

@ -22,8 +22,4 @@ urlpatterns = [
url(r'tickets/$', TicketListView.as_view(), name='ticket_list'),
url(r'tickets/(?P<pk>\b[0-9A-Fa-f]{8}\b(-\b[0-9A-Fa-f]{4}\b){3}-\b[0-9A-Fa-f]{12}\b)$', TicketDetailView.as_view(), name='ticket_detail'),
url(r'privacy-policy/$', TemplateView.as_view(template_name='law/privacy_policy.html'), name='privacy-policy'),
url(r'return-policy/$', TemplateView.as_view(template_name='law/return_policy.html'), name='return-policy'),
url(r'general-terms-and-conditions/$', TemplateView.as_view(template_name='law/general_terms_and_conditions.html'), name='general-terms')
]