blob: ad53cd9a98bc35669ebf21eb68ebbf5c17af85b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
{% extends "base_content.html" %}
<!-- complete.html -->
{% comment %}
views calling this template:
* django_authopenid.views.register with login_type='openid'
* django_authopenid.views.signin - with login_type='legacy'
purpose of this template is to allow user enter his/her name
email and sign up for email alerts at the initial registratio
parameters:
* provider
* login_type openid|legacy
* username (same as screen name or username in the models, and nickname in openid sreg)
* openid_register_form
* openid_verify_form - not clear what this form is supposed to do, not used for legacy
* email_feeds_form forum.forms.SimpleEmailSubscribeForm
* openid_username_exists
{% endcomment %}
{% load i18n %}
{% block head %}{% endblock %}
{% block title %}{% spaceless %}{% trans "Connect your OpenID with this site" %}{% endspaceless %}{% endblock %}
{% block content %}
<div id="main-bar" class="headNormal">
{% trans "Connect your OpenID with your account on this site" %}
</div>
<div id="completetxt" >
<div class="message">
{% ifequal login_type 'openid' %}
{% blocktrans %}register new {{provider}} account info, see {{gravatar_faq_url}}{% endblocktrans %}
{% else %}
{% ifequal login_type 'legacy' %}
{% if external_login_name_is_taken %}
{% blocktrans %}{{username}} already exists, choose another name for
{{provider}}. Email is required too, see {{gravatar_faq_url}}
{% endblocktrans %}
{% else %}
{% blocktrans %}register new external {{provider}} account info, see {{gravatar_faq_url}}{% endblocktrans %}
{% endif %}
{% else %}
{% blocktrans %}register new Facebook connect account info, see {{gravatar_faq_url}}{% endblocktrans %}
{% endifequal %}
{% endifequal %}
</div>
<p style="display:none">{% trans "This account already exists, please use another." %}</p>
</div>
{% if openid_register_form.errors %}
<ul class="errorlist">
{% if openid_register_form.non_field_errors %}
{% for error in openid_register_form.non_field_errors %}
<li>{{error}}</li>
{% endfor %}
{% endif %}
</ul>
{% endif %}
<div class="login">
{% ifequal login_type 'openid' %}
<form name="fregister" action="{% url user_register %}" method="POST">
{% else %}
{% ifequal login_type 'facebook' %}
<form name="fregister" action="" method="POST">
{% else %}
<form name="fregister" action="{% url user_signin %}" method="POST">
{% endifequal %}
{% endifequal %}
{{ openid_register_form.next }}
<div class="form-row-vertical">
<label for="id_username">{% trans "Screen name label" %}</label>
{% if openid_register_form.username.errors %}
<p class="error">{{ openid_register_form.username.errors|join:", " }}</p>
{% endif %}
{{ openid_register_form.username }}
</div>
<div class="form-row-vertical margin-bottom">
<label for="id_email">{% trans "Email address label" %}</label>
{% if openid_register_form.email.errors %}
<p class="error">{{ openid_register_form.email.errors|join:", " }}</p>
{% endif %}
{{ openid_register_form.email }}
</div>
<p>{% trans "receive updates motivational blurb" %}</p>
<div class='simple-subscribe-options'>
{{email_feeds_form.subscribe}}
{% if email_feeds_form.errors %}
<p class="error">{% trans "please select one of the options above" %}</p>
{% endif %}
</div>
<p class='space-above'>{% trans "Tag filter tool will be your right panel, once you log in." %}</p>
<div class="submit-row"><input type="submit" class="submit" name="bnewaccount" value="{% trans "create account" %}"/></div>
</form>
</div>
{% endblock %}
<!-- end complete.html -->
|