UX: move up profile picture field next to the username
This commit is contained in:
parent
f40b28d4c7
commit
f0f659286f
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue