<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
from openedx.core.djangolib.markup import HTML, Text
%>

<section class="container activation">

  <section class="message">
    <h1 class="invalid">${_("Activation Invalid")}</h1>
    <hr class="horizontal-divider">

    <p>${Text(_('Something went wrong. Check to make sure the URL you went to was '
                'correct -- e-mail programs will sometimes split it into two '
                'lines. If you still have issues, e-mail us to let us know what happened '
                'at {email_start}{email}{email_end}.')).format(
		    email_start=HTML('<a href="mailto:{}">').format(settings.BUGS_EMAIL),
		    email=settings.BUGS_EMAIL,
		    email_end=HTML('</a>')
		)}</p>

    <p>${Text(_('Or you can go back to the {link_start}home page{link_end}.')).format(
           link_start=HTML('<a href="/">'), link_end=HTML('</a>'))}</p>
  </section>
</section>