UX: move up profile picture field next to the username

This commit is contained in:
Vinoth Kannan 2019-04-09 11:46:03 +05:30
parent f40b28d4c7
commit f0f659286f
1 changed files with 11 additions and 11 deletions

View File

@ -14,6 +14,17 @@
{{/if}} {{/if}}
</div> </div>
{{#unless siteSettings.sso_overrides_avatar}}
<div class="control-group pref-avatar">
<label class="control-label" id="profile-picture">{{i18n 'user.avatar.title'}}</label>
<div class="controls">
{{! we want the "huge" version even though we're downsizing it in CSS }}
{{bound-avatar model "huge"}}
{{d-button action=(route-action "showAvatarSelector") actionParam=model class="btn-default pad-left" icon="pencil-alt"}}
</div>
</div>
{{/unless}}
{{#if canEditName}} {{#if canEditName}}
<div class="control-group pref-name"> <div class="control-group pref-name">
<label class="control-label">{{i18n 'user.name.title'}}</label> <label class="control-label">{{i18n 'user.name.title'}}</label>
@ -141,17 +152,6 @@
</div> </div>
{{/if}} {{/if}}
{{#unless siteSettings.sso_overrides_avatar}}
<div class="control-group pref-avatar">
<label class="control-label" id="profile-picture">{{i18n 'user.avatar.title'}}</label>
<div class="controls">
{{! we want the "huge" version even though we're downsizing it in CSS }}
{{bound-avatar model "huge"}}
{{d-button action=(route-action "showAvatarSelector") actionParam=model class="btn-default pad-left" icon="pencil-alt"}}
</div>
</div>
{{/unless}}
{{#if canSelectTitle}} {{#if canSelectTitle}}
<div class="control-group pref-title"> <div class="control-group pref-title">
<label class="control-label">{{i18n 'user.title.title'}}</label> <label class="control-label">{{i18n 'user.title.title'}}</label>