@(account: gitbucket.core.model.Account, info: Option[Any], error: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.util.LDAPUtil @import gitbucket.core.view.helpers @gitbucket.core.html.main("Edit your profile"){ @gitbucket.core.account.html.menu("profile", context.loginAccount.get.userName, false){ @gitbucket.core.helper.html.information(info) @gitbucket.core.helper.html.error(error) @if(LDAPUtil.isDummyMailAddress(account)){
Please register your mail address.
}
Profile
@if(account.password.nonEmpty){
Password (input to change password):
}
Full Name:
Mail Address:
URL (optional):
Bio (optional): @account.description
Image (optional): @gitbucket.core.helper.html.uploadavatar(Some(account))
Delete account
@if(!LDAPUtil.isDummyMailAddress(account)){Cancel}
} }