Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
422147ea
Commit
422147ea
authored
Apr 11, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate password_reset_confirm.html to Mako (2/4)
parent
bda18f46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
lms/templates/registration/password_reset_complete.html
+18
-14
No files found.
lms/templates/registration/password_reset_complete.html
View file @
422147ea
{% 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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment