modal_content blocks for allauth social templates

This commit is contained in:
Karen 2012-07-19 15:48:30 +05:30
parent f79e3a2fd5
commit b693320f8d
5 changed files with 119 additions and 119 deletions

View File

@ -4,7 +4,7 @@
{% block head_title %}{% trans "Account Inactive" %}{% endblock %}
{% block content %}
{% block modal_content %}
<h1>{% trans "Account Inactive" %}</h1>
<p>{% trans "This account is inactive." %}</p>

View File

@ -4,7 +4,7 @@
{% block head_title %}{% trans "Social Network Login Failure" %}{% endblock %}
{% block content %}
{% block modal_content %}
<h1>{% trans "Social Network Login Failure" %}</h1>
<p>{% trans "An error occured while attempting to login via your social network account." %}</p>

View File

@ -4,7 +4,7 @@
{% block head_title %}{% trans "Account Connections" %}{% endblock %}
{% block content %}
{% block modal_content %}
<h1>{% trans "Account Connections" %}</h1>
{% if form.accounts %}

View File

@ -4,7 +4,7 @@
{% block head_title %}{% trans "Login Cancelled" %}{% endblock %}
{% block content %}
{% block modal_content %}
<h1>{% trans "Login Cancelled" %}</h1>

View File

@ -4,7 +4,7 @@
{% block head_title %}{% trans "Signup" %}{% endblock %}
{% block content %}
{% block modal_content %}
<h1>{% trans "Sign Up" %}</h1>
<p>{% blocktrans with provider_name=account.get_provider.name site_name=site.name %}You are about to use your {{provider_name}} account to login to