Commit 422147ea by Brian Jacobel

Migrate password_reset_confirm.html to Mako (2/4)

parent bda18f46
{% extends "main_django.html" %}
{% load i18n %}
## mako
{% block title %}
<title>{% trans "Your Password Reset is Complete" %}</title>
{% endblock %}
<%! from django.utils.translation import ugettext as _ %>
{% block bodyextra %}
<%inherit file="../main.html"/>
<%block name="title">
<title>${_("Your Password Reset is Complete")}</title>
</%block>
<%block name="bodyextra">
<script type="text/javascript">
$(function() {
'use strict';
......@@ -13,23 +16,24 @@
$('body').addClass('js');
});
</script>
{% endblock %}
</%block>
{% block bodyclass %}view-passwordreset{% endblock %}
<%block name="bodyclass">view-passwordreset</%block>
{% block body %}
<%block name="body">
<div id="password-reset-complete-container" class="login-register">
<section id="password-reset-complete-anchor" class="form-type">
<div id="password-reset-complete" class="form-wrapper">
<div class="status submission-success" aria-live="polite">
<h4 class="message-title">{% trans "Password Reset Complete" %}</h4>
<h4 class="message-title">${_("Password Reset Complete")}</h4>
<ul class="message-copy">
{% blocktrans with link_start='<a href="/login">' link_end='</a>' %}
Your password has been reset. {{ link_start }}Sign in to your account.{{ link_end }}
{% endblocktrans %}
${_(
"Your password has been reset. {start_link}Sign-in to your account.{end_link}"
.format(start_link='<a href="/login">', end_link='</a>')
)}
</ul>
</div>
</div>
</section>
</div>
{% endblock %}
</%block>
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