implement password change for mailboxes

- implement managemails.forms.ChangeMailboxPasswordForm
- extract code for determining hosting package and customer from URL into
  HostingPackageAndCustomerMixin
- implement managemails.views.ChangeMailboxPassword
- add new URL pattern 'change_mailbox_password' to managemails.urls
- add template managemails/mailbox_setpassword.html
- link from template hostingpackages/customerhostingpackage_detail.html to
  change_mailbox_password
- add german translation for new strings
- document new feature in changelog
This commit is contained in:
Jan Dittberner 2015-01-25 12:49:31 +01:00
parent d1119331d8
commit 2e4efe7839
8 changed files with 178 additions and 21 deletions

View file

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gnuviechadmin\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-25 12:04+0100\n"
"PO-Revision-Date: 2015-01-25 12:06+0100\n"
"POT-Creation-Date: 2015-01-25 12:46+0100\n"
"PO-Revision-Date: 2015-01-25 12:49+0100\n"
"Last-Translator: Jan Dittberner <jan@dittberner.info>\n"
"Language-Team: Jan Dittberner <jan@dittberner.info>\n"
"Language: de\n"
@ -814,6 +814,26 @@ msgstr "Bitte geben Sie das Passwort für Ihr neues Postfach ein."
msgid "Please specify the password for the new mailbox."
msgstr "Bitte geben Sie das Passwort für das neue Postfach ein."
#: templates/managemails/mailbox_setpassword.html:6
#: templates/managemails/mailbox_setpassword.html:15
#, python-format
msgid "Set Password for Mailbox %(mailbox)s"
msgstr "Passwort für Postfach %(mailbox)s setzen"
#: templates/managemails/mailbox_setpassword.html:8
#: templates/managemails/mailbox_setpassword.html:17
#, python-format
msgid "Set Password for Mailbox %(mailbox)s of Customer %(full_name)s"
msgstr "Passwort für Postfach %(mailbox)s des Kunden %(full_name)s setzen"
#: templates/managemails/mailbox_setpassword.html:23
msgid "Please specify the new password for your mailbox."
msgstr "Bitte geben Sie das neue Passwort für Ihr Postfach ein."
#: templates/managemails/mailbox_setpassword.html:23
msgid "Please specify the new password for the mailbox."
msgstr "Bitte geben Sie das neue Passwort für das Postfach ein."
#: templates/osusers/user_setpassword.html:5
#: templates/osusers/user_setpassword.html:13
#, python-format