diff --git a/dss/urls.py b/dss/urls.py index ca802ff..7558938 100644 --- a/dss/urls.py +++ b/dss/urls.py @@ -1,5 +1,6 @@ from django.conf.urls import patterns, include, url from django.contrib import admin +from django.views.generic import TemplateView from dss import settings @@ -11,12 +12,12 @@ admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), - (r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/img/favicon.ico'}), - (r'^channel\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/fb_channel.html'}), - (r'^privacy\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/privacy.html'}), - (r'^robots\.txt', 'django.views.generic.simple.redirect_to', {'url': '/static/html/robots.txt'}), - (r'^tos\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/tos.html'}), - (r'^test\.html$', 'django.views.generic.simple.redirect_to', {'url': '/static/html/test.html'}), + #(r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/img/favicon.ico'}), + (r'^channel\.html$', TemplateView.as_view(template_name='boiler/fb_channel.html')), + (r'^privacy\.html$', TemplateView.as_view(template_name='boiler/privacy.html')), + (r'^robots\.txt', TemplateView.as_view(template_name='boiler/robots.txt')), + (r'^tos\.html$', TemplateView.as_view(template_name='boiler/tos.html')), + (r'^test\.html$', TemplateView.as_view(template_name='boiler/test.html')), (r'^500', 'django.views.defaults.server_error'), (r'^grappelli/', include('grappelli.urls')), url(r'^accounts/', include('allauth.urls')), diff --git a/templates/account/logout.html b/templates/account/logout.html index 4406d5c..57f85bb 100644 --- a/templates/account/logout.html +++ b/templates/account/logout.html @@ -4,6 +4,7 @@ {% block content %}
{% trans "You have signed out." %}
+ {% if user.is_authenticated %}Audio property with type declaration as structured property.
- + + + + +Audio property with type declaration as structured property.
+ \ No newline at end of file diff --git a/static/html/test2.html b/templates/boiler/test2.html similarity index 98% rename from static/html/test2.html rename to templates/boiler/test2.html index ac7e5d1..5167233 100644 --- a/static/html/test2.html +++ b/templates/boiler/test2.html @@ -1,22 +1,22 @@ - - - - -Audio property with type declaration as structured property.
- + + + + +Audio property with type declaration as structured property.
+ \ No newline at end of file diff --git a/static/html/tos.html b/templates/boiler/tos.html similarity index 100% rename from static/html/tos.html rename to templates/boiler/tos.html diff --git a/templates/views/HeaderView.html b/templates/views/HeaderView.html index ff81596..f936eb0 100644 --- a/templates/views/HeaderView.html +++ b/templates/views/HeaderView.html @@ -12,10 +12,10 @@