diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-27 06:13:26 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-27 06:13:26 +0200 |
commit | 5b27f640afa7ff9a6804949ad16667d988f7f5d4 (patch) | |
tree | 4da5c3f69dc6b026b8d8805542b717485d84149e /template/en/default/account/prefs/account.html.tmpl | |
parent | 92f16f758434dd1ce92a1043ade9bf7f8438fa78 (diff) | |
download | bugzilla-5b27f640afa7ff9a6804949ad16667d988f7f5d4.tar.gz bugzilla-5b27f640afa7ff9a6804949ad16667d988f7f5d4.tar.xz |
Bug 1171806 - add the ability for a user to disable/"remove" their own account
Diffstat (limited to 'template/en/default/account/prefs/account.html.tmpl')
-rw-r--r-- | template/en/default/account/prefs/account.html.tmpl | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl index 0c8f0807f..919563440 100644 --- a/template/en/default/account/prefs/account.html.tmpl +++ b/template/en/default/account/prefs/account.html.tmpl @@ -29,7 +29,7 @@ <table> <tr> - <th align="right">Your real name:</th> + <th align="right" width="150">Your real name:</th> <td> <input size="35" name="realname" value="[% realname FILTER html %]"> <i>optional, but encouraged</i> @@ -118,4 +118,32 @@ </tr> [% END %] + <tr> + <td></td> + <td> + <a href="#" id="account-disable-toggle"><span id="account-disable-spinner">▸</span> Disable My Account</a> + </td> + </tr> + <tr id="account-disable" style="display:none"> + <td></td> + <td> + <p> + Your contributions on bugzilla.mozilla.org will still be visible; + however, your email address and name will be removed in most locations. + We are not able to remove your details that are part of comment text. + </p> + <p> + <input type="checkbox" id="account-disable-confirm"> + I acknowledge that my account will not be functional after it has been + disabled. + </p> + <input type="hidden" name="account_disable" id="account_disable"> + <button type="button" id="account-disable-button" disabled>Disable Account</button> + </td> + </tr> + <tr> + <td></td> + <td><hr></td> + </tr> + </table> |