|
@@ -9,7 +9,7 @@ block content
|
|
|
.page-header
|
|
.page-header
|
|
|
h1 #{translate("account_settings")}
|
|
h1 #{translate("account_settings")}
|
|
|
.account-settings(ng-controller="AccountSettingsController", ng-cloak)
|
|
.account-settings(ng-controller="AccountSettingsController", ng-cloak)
|
|
|
- if locals.showAffiliationsUI && hasFeature('affiliations')
|
|
|
|
|
|
|
+ if hasFeature('affiliations')
|
|
|
include settings/user-affiliations
|
|
include settings/user-affiliations
|
|
|
|
|
|
|
|
form-messages(for="settingsForm")
|
|
form-messages(for="settingsForm")
|
|
@@ -22,7 +22,7 @@ block content
|
|
|
h3 #{translate("update_account_info")}
|
|
h3 #{translate("update_account_info")}
|
|
|
form(async-form="settings", name="settingsForm", method="POST", action="/user/settings", novalidate)
|
|
form(async-form="settings", name="settingsForm", method="POST", action="/user/settings", novalidate)
|
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
|
|
- if !(locals.showAffiliationsUI && hasFeature('affiliations'))
|
|
|
|
|
|
|
+ if !hasFeature('affiliations')
|
|
|
if !externalAuthenticationSystemUsed()
|
|
if !externalAuthenticationSystemUsed()
|
|
|
.form-group
|
|
.form-group
|
|
|
label(for='email') #{translate("email")}
|
|
label(for='email') #{translate("email")}
|