<%inherit file="main.html" />
<%!
from django.utils.translation import ugettext as _
from django.urls import reverse
%>

<section class="container activation">

  <section class="message">
    <h1 class="valid">${_("E-mail change successful!")}</h1>
    <hr class="horizontal-divider">

    <p>${_('You should see your new email in your {link_start}dashboard{link_end}.').format(
        link_start='<a href="{url}">'.format(url=reverse('dashboard')),
        link_end='</a>',
      )}</p>
  </section>
</section>

<%inherit file="main.html" />
<%!
from django.urls import reverse
from django.utils.translation import ugettext as _
%>
<section class="container activation">
  <section class="message">
    <h1 class="valid">${_("E-mail change successful!")}</h1>
    <hr class="horizontal-divider">
    <p>${_("Your updated email address is now {new_email}.").format(
        new_email=new_email,
    )}</p>
    <p>${_("To view your courses, go to your {link_start}dashboard{link_end}.").format(
        link_start='<a href="{url}">'.format(url=reverse('dashboard')),
        link_end='</a>',
    )}</p>
  </section>
</section>

Update email confirmation success message
Update email confirmation success message

The message had said you could view your new email address on the
dashboard, which is innaccurate; it's on the account settings page.

While we could have updated the link to point there instead,
we've deemed it more useful to send users to their dashboard,
while also mentioning the new email address in the message.
