add registration_closed template
This commit is contained in:
parent
46cdbd4e53
commit
c48e7dc5fc
@ -0,0 +1,8 @@
|
|||||||
|
{% extends "registration/registration_base.html" %}
|
||||||
|
{% load i18n %}{% load bootstrap %}
|
||||||
|
{% block title %}{% trans "Registration closed" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h2>{% trans 'The account registration is closed.' %}</h2>
|
||||||
|
<p>{% blocktrans %}Registration is currently only possible by contacting the admin ({{ SERVICE_CONTACT }}). {% endblocktrans %}</p>
|
||||||
|
{% endblock %}
|
@ -30,5 +30,8 @@ urlpatterns = patterns(
|
|||||||
url(r'^register/complete/$',
|
url(r'^register/complete/$',
|
||||||
TemplateView.as_view(template_name='registration/registration_complete.html'),
|
TemplateView.as_view(template_name='registration/registration_complete.html'),
|
||||||
name='registration_complete'),
|
name='registration_complete'),
|
||||||
|
url(r'^register/closed/$',
|
||||||
|
TemplateView.as_view(template_name='registration/registration_closed.html'),
|
||||||
|
name='registration_disallowed'),
|
||||||
# registration end
|
# registration end
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user