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
f0cbbcea
Commit
f0cbbcea
authored
Mar 14, 2012
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dialogs for name changes, etc. (non-working)
--HG-- branch : pmitros-name-change
parent
7281cc50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
9 deletions
+68
-9
profile.html
+68
-9
No files found.
profile.html
View file @
f0cbbcea
...
...
@@ -77,6 +77,19 @@ $(function() {
log_event
(
"profile"
,
{
"type"
:
"password_send"
});
});
});
$
(
"#update_email"
).
click
(
function
()
{
$
(
"#change_email_link"
).
click
();
});
$
(
"#apply_name"
).
click
(
function
()
{
$
(
"#apply_name_change_link"
).
click
();
});
$
(
"#unenroll_button"
).
click
(
function
(){
$
(
"#unenroll_course_link"
).
click
();
});
});
</script>
</
%
block>
...
...
@@ -136,10 +149,18 @@ $(function() {
<section
class=
"user-info"
>
<h1>
${name}
</h1>
%if True:
<a
href=
"#"
id=
"apply_name"
>
Apply to change
</a>
%else:
(Name change pending)
%endif
<ul>
<li>
Forum name:
<strong>
${username}
</strong></li>
<li>
E-mail:
<strong>
${email}
</strong></li>
<li>
Forum name:
<strong>
${username}
</strong>
</li>
<li>
E-mail:
<strong>
${email}
</strong>
<a
href=
"#"
id=
"update_email"
>
Update
</a>
</li>
<li>
Location:
<div
id=
"location_sub"
>
${location}
</div><div
id=
"description"
></div>
<a
href=
"#"
id=
"change_location"
>
Edit
</a>
</li>
...
...
@@ -155,13 +176,51 @@ $(function() {
<input
id=
"id_email"
type=
"hidden"
name=
"email"
maxlength=
"75"
value=
"${email}"
/>
<input
type=
"submit"
id=
"pwd_reset_button"
value=
"Reset Password"
/>
</div>
<div
id=
"unenroll"
>
<input
type=
"submit"
id=
"unenroll_button"
value=
"Unenroll"
/>
</div>
</section>
</div>
</section>
<div
id=
"password_reset_complete"
class=
"leanModal_box"
>
<a
href=
"#password_reset_complete"
rel=
"leanModal"
id=
"password_reset_complete_link"
></a>
<h1>
Password Reset Email Sent
</h1>
An email has been sent to ${email}. Follow the link in the email to change your password.
</div>
<div
id=
"password_reset_complete"
class=
"leanModal_box"
>
<a
href=
"#password_reset_complete"
rel=
"leanModal"
id=
"password_reset_complete_link"
></a>
<h1>
Password Reset Email Sent
</h1>
An email has been sent to ${email}. Follow the link in the email to change your password.
</div>
<div
id=
"apply_name_change"
class=
"leanModal_box"
>
<a
href=
"#apply_name_change_link"
rel=
"leanModal"
id=
"apply_name_change_link"
></a>
<h1>
Apply to change your name
</h1>
Enter your desired full name, as it will appear on the MITx Certificate:
<p><input
id=
"new_name"
value=
""
/>
<p>
Reason for name change:
<p><input
id=
"name_rationale"
value=
""
/>
<p>
A member of the course staff will review your request, and if approved, update your information.
<p><input
id=
"submit"
>
</div>
<div
id=
"change_email"
class=
"leanModal_box"
>
<a
href=
"#change_email_link"
rel=
"leanModal"
id=
"change_email_link"
></a>
<h1>
Change e-mail
</h1>
<p>
Please enter your new email address:
<p><input
id=
"new_name"
value=
""
/>
<p>
Please confirm your password:
<p><input
id=
"new_name"
value=
""
type=
"password"
/>
<p>
We will send a confirmation to both ${email} and your new e-mail
as part of the process. Since we use e-mail as an authentication
mechanism, we keep a log e-mail changes.
<p><input
id=
"submit"
>
</div>
<div
id=
"unenroll_course"
class=
"leanModal_box"
>
<a
href=
"#unenroll_course_link"
rel=
"leanModal"
id=
"unenroll_course_link"
></a>
<h1>
Unenroll
</h1>
<p>
At the end of the semester, all students who do not complete the
course will be automatically dropped. If you would still prefer to
deactivate your account, you can:
<p>
Deactivate account, but inform me about future courses.
<p>
Deactivate account/do not inform me about future courses.
</p>
</div>
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