Shows the account activation message in the sidebar

and removes the DISPLAY_ACCOUNT_ACTIVATION_MESSAGE_ON_SIDEBAR flag, since this
feature is now always on.

Marks the top banner as deprecated.

(cherry picked from commit b44114d171)
This commit is contained in:
Jillian Vogel
2018-03-21 14:12:31 +10:30
parent 1200cfb10c
commit d585294f50
4 changed files with 2 additions and 74 deletions

View File

@@ -375,9 +375,6 @@ FEATURES = {
# See LEARNER-493
'ENABLE_ONE_CLICK_PROGRAM_PURCHASE': False,
# Whether to display account activation notification on dashboard.
'DISPLAY_ACCOUNT_ACTIVATION_MESSAGE_ON_SIDEBAR': False,
# Allow users to change their email address.
'ALLOW_EMAIL_ADDRESS_CHANGE': True,

View File

@@ -1,28 +0,0 @@
<%page expression_filter="h"/>
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<div class="wrapper-msg urgency-high">
<div class="msg">
<div class="msg-content">
<h2 class="title">${_("You're almost there!")}</h2>
<div class="copy">
<p class='activation-message'>${Text(_(
"There's just one more step: Before you "
"enroll in a course, you need to activate "
"your account. We've sent an email message to "
"{email_start}{email}{email_end} with "
"instructions for activating your account. If "
"you don't receive this message, check your "
"spam folder."
)).format(
email_start=HTML("<strong>"),
email_end=HTML("</strong>"),
email=email,
)}
</p>
</div>
</div>
</div>
</div>