From f0f659286f6c267133ea3e7691351fb93f7dfb9d Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Tue, 9 Apr 2019 11:46:03 +0530 Subject: [PATCH] UX: move up profile picture field next to the username --- .../templates/preferences/account.hbs | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/preferences/account.hbs b/app/assets/javascripts/discourse/templates/preferences/account.hbs index 3cba4da0e9c..3e1b9674b2c 100644 --- a/app/assets/javascripts/discourse/templates/preferences/account.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/account.hbs @@ -14,6 +14,17 @@ {{/if}} +{{#unless siteSettings.sso_overrides_avatar}} +
+ +
+ {{! 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"}} +
+
+{{/unless}} + {{#if canEditName}}
@@ -141,17 +152,6 @@
{{/if}} -{{#unless siteSettings.sso_overrides_avatar}} -
- -
- {{! 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"}} -
-
-{{/unless}} - {{#if canSelectTitle}}