adding 'service unavailable' template and adjusting urls to point to it

This commit is contained in:
Jake Dahn 2011-01-22 20:31:51 -06:00
parent 13f9c37288
commit 30d8c91be2
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
{% extends "dashboard/base.html" %}
{% block title %} - Service Unavailable{% endblock %}
{% block pageclass %}unavailable{% endblock %}
{% block content %}
<div id="page_head">
<h2 id="page_heading">Service Unavailable</h2>
<p id="page_description">This service is currently unavailable, please check back soon.</p>
</div>
{% endblock %}

View File

@ -50,7 +50,7 @@ urlpatterns += patterns('django.views.generic.simple',
name='dashboard_permission_denied'),
url(r'^unavailable/$',
'direct_to_template',
{'template': 'django_nova/unavailable.html'},
{'template': 'unavailable.html'},
name='nova_unavailable'),
)