]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/auth/complete.html
Improving the canned comments feature, now we can use Django style template syntax...
[osqa.git] / forum / skins / default / templates / auth / complete.html
index c5a3c9ee2266d84d2cc260e751cdf000b80bc209..79f10dcf27bf9b1729dd33cdb48f392cf1e157c6 100644 (file)
@@ -9,8 +9,15 @@
     </div>      
        <div id="completetxt" >
         <div class="message">
-            <b>{% trans "You are here for the first time with " %}{{ provider }}</b>
-            {% trans "Please create your screen name and save your email address. Saved email address will let you subscribe for the updates on the most interesting questions and will be used to create and retrieve your unique avatar image. " %}
+            {# Only display the OpenID greeting if a provider is detected. #}
+            {% if provider %}
+                <p>
+                    <b>{% trans "You are here for the first time with " %}{{ provider }}</b>
+                </p>
+            {% endif %}
+            <p>
+                {% trans "Please choose your screen name and confirm your email address. A valid email address is necessary to receive notifications about activity in the areas of this community you're most interested in, and will help you become an involved participant in this community." %}
+            </p>
         </div>
        <p style="display:none">{% trans "This account already exists, please use another." %}</p>
        </div>
@@ -27,6 +34,7 @@
 
        <div class="login">
         <form name="fregister" action="" method="POST">
+            {% csrf_token %}
             {{ form1.next }}
             <div class="form-row-vertical margin-bottom">
                 <label for="id_username">{{ form1.username.label }}</label>
                 {{ form1.recaptcha }}
                 </div>
             {% endif %}
-            <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" id="bnewaccount" value="{% trans "create account" %}"/></div>
                </form>
        </div>
     {% if form2 %}
        <div class="login" style="display:none">
         <form name="fverify" action="{% url user_register %}" method="POST">
+            {% csrf_token %}
             {{ form2.next }}
                        <fieldset style="padding:10px">
                                <legend class="big">{% trans "Existing account" %}</legend>
                                <div class="form-row"><label for="id_username">{% trans "user name" %}</label><br/>{{ form2.username }}</div>
                                <div class="form-row"><label for="id_passwordl">{% trans "password" %}</label><br/>{{ form2.password }}</div>
                 <p><span class='big strong'>(Optional) receive updates by email</span> - only sent when there are any.</p>
-                <div class='simple-subscribe-options'>
-                {{email_feeds_form.subscribe}}
-                </div>
                                <!--todo double check translation from chinese 确认 = "Register" -->
                                <div class="submit-row">
                                        <input type="submit" class="submit" name="bverify" value="{% trans "Register" %}"/>