Commit 4b14e65e by root

fixes

parent 8102903a
...@@ -178,9 +178,9 @@ IGNORABLE_404_ENDS = ('favicon.ico') ...@@ -178,9 +178,9 @@ IGNORABLE_404_ENDS = ('favicon.ico')
# Email # Email
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
DEFAULT_FROM_EMAIL = 'registration@edx.org' DEFAULT_FROM_EMAIL = 'noreply.edu@olimpiada.ru'
DEFAULT_FEEDBACK_EMAIL = 'feedback@edx.org' DEFAULT_FEEDBACK_EMAIL = 'edu@olimpiada.ru'
SERVER_EMAIL = 'devops@edx.org' SERVER_EMAIL = 'edu@olimpiada.ru'
ADMINS = () ADMINS = ()
MANAGERS = ADMINS MANAGERS = ADMINS
......
...@@ -636,6 +636,8 @@ def create_account(request, post_override=None): ...@@ -636,6 +636,8 @@ def create_account(request, post_override=None):
post_vars.update(dict(email=email, name=name, password=password)) post_vars.update(dict(email=email, name=name, password=password))
log.debug(u'In create_account with external_auth: user = %s, email=%s', name, email) log.debug(u'In create_account with external_auth: user = %s, email=%s', name, email)
post_vars = dict(post_vars.items())
# Confirm we have a properly formed request # Confirm we have a properly formed request
for a in ['email', 'password', "lastname", "firstname", "middlename", "year_of_birth", for a in ['email', 'password', "lastname", "firstname", "middlename", "year_of_birth",
"level_of_education", "education_place", "education_year", "level_of_education", "education_place", "education_year",
...@@ -724,7 +726,7 @@ def create_account(request, post_override=None): ...@@ -724,7 +726,7 @@ def create_account(request, post_override=None):
js['value'] = error_str[a] js['value'] = error_str[a]
js['field'] = a js['field'] = a
return HttpResponse(json.dumps(js)) return HttpResponse(json.dumps(js))
if len(post_vars[a] < 1): if len(post_vars[a]) < 1:
post_vars[a] = '0' post_vars[a] = '0'
try: try:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -366,15 +366,15 @@ IGNORABLE_404_ENDS = ('favicon.ico') ...@@ -366,15 +366,15 @@ IGNORABLE_404_ENDS = ('favicon.ico')
# Email # Email
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
DEFAULT_FROM_EMAIL = 'registration@edx.org' DEFAULT_FROM_EMAIL = 'noreply.edu@olimpiada.ru'
DEFAULT_BULK_FROM_EMAIL = 'course-updates@edx.org' DEFAULT_BULK_FROM_EMAIL = 'noreply.edu@olimpiada.ru'
EMAILS_PER_TASK = 100 EMAILS_PER_TASK = 100
EMAILS_PER_QUERY = 1000 EMAILS_PER_QUERY = 1000
DEFAULT_FEEDBACK_EMAIL = 'feedback@edx.org' DEFAULT_FEEDBACK_EMAIL = 'edu@olimpiada.ru'
SERVER_EMAIL = 'devops@edx.org' SERVER_EMAIL = 'edu@olimpiada.ru'
TECH_SUPPORT_EMAIL = 'technical@edx.org' TECH_SUPPORT_EMAIL = 'edu@olimpiada.ru'
CONTACT_EMAIL = 'info@edx.org' CONTACT_EMAIL = 'edu@olimpiada.ru'
BUGS_EMAIL = 'bugs@edx.org' BUGS_EMAIL = 'edu@olimpiada.ru'
ADMINS = () ADMINS = ()
MANAGERS = ADMINS MANAGERS = ADMINS
......
...@@ -350,9 +350,9 @@ padding-left: 20px; ...@@ -350,9 +350,9 @@ padding-left: 20px;
% else: % else:
<section class="empty-dashboard-message"> <section class="empty-dashboard-message">
<p>${_("Looks like you haven't registered for any courses yet.")}</p> <p>${_("Looks like you haven't registered for any courses yet.")}</p>
<a href="${marketing_link('COURSES')}"> <!-- <a href="${marketing_link('COURSES')}">
${_("Find courses now!")} ${_("Find courses now!")}
</a> </a>-->
</section> </section>
% endif % endif
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="colophon"> <div class="colophon">
<nav class="nav-colophon"> <nav class="nav-colophon">
<ol> <ol>
<li class="nav-colophon-01"> <!-- <li class="nav-colophon-01">
<a id="about" href="${marketing_link('ABOUT')}"> <a id="about" href="${marketing_link('ABOUT')}">
${_("About")} ${_("About")}
</a> </a>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<a id="faq" href="${marketing_link('FAQ')}"> <a id="faq" href="${marketing_link('FAQ')}">
${_("FAQ")} ${_("FAQ")}
</a> </a>
</li> </li>-->
<li class="nav-colophon-05"> <li class="nav-colophon-05">
<a id="contact" href="${marketing_link('CONTACT')}"> <a id="contact" href="${marketing_link('CONTACT')}">
${_("Contact")} ${_("Contact")}
......
...@@ -58,7 +58,7 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -58,7 +58,7 @@ site_status_msg = get_site_status_msg(course_id)
<ol class="left nav-global authenticated"> <ol class="left nav-global authenticated">
<%block name="navigation_global_links_authenticated"> <%block name="navigation_global_links_authenticated">
<li class="nav-global-01"> <li class="nav-global-01">
<a href="${marketing_link('COURSES')}">${_('Find Courses')}</a> <!-- <a href="${marketing_link('COURSES')}">${_('Find Courses')}</a> -->
</li> </li>
</%block> </%block>
</ol> </ol>
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
https://{{domain}}{% url 'student.views.password_reset_confirm_wrapper' uidb36=uid token=token %} https://{{domain}}{% url 'student.views.password_reset_confirm_wrapper' uidb36=uid token=token %}
{% endblock %} {% endblock %}
If you didn't request this change, you can disregard this email - we have not yet reset your password. {% trans "If you didn't request this change, you can disregard this email - we have not yet reset your password." %}
{% trans "Thanks for using our site!" %} {% trans "Thanks for using our site!" %}
{% blocktrans %}The edX Team{% endblocktrans %} {% blocktrans %}The edX Team{% endblocktrans %}С
{% endautoescape %} {% endautoescape %}
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
<div class="sign-up"> <div class="sign-up">
<h3>${_("Register for classes")}</h3> <h3>${_("Register for classes")}</h3>
<p>${_("Take free online courses from today's leading universities.")}</p> <!-- <p>${_("Take free online courses from today's leading universities.")}</p> -->
<p><a href="#signup-modal" id="signup" rel="leanModal" class="register-button">${_("Register")}</a></p> <p><a href="#signup-modal" id="signup" rel="leanModal" class="register-button">${_("Register")}</a></p>
</div> </div>
</div> </div>
...@@ -63,4 +63,4 @@ ...@@ -63,4 +63,4 @@
</%block> </%block>
<%include file="../signup_modal.html" /> <%include file="../signup_modal.html" />
<%include file="../forgot_password_modal.html" /> <%include file="../forgot_password_modal.html" />
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment