diff --git a/app/assets/javascripts/discourse/templates/preferences/profile.hbs b/app/assets/javascripts/discourse/templates/preferences/profile.hbs index 168e9afc248..c80b98e7832 100644 --- a/app/assets/javascripts/discourse/templates/preferences/profile.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/profile.hbs @@ -1,25 +1,3 @@ -{{#if siteSettings.allow_profile_backgrounds}} -
- -
- {{image-uploader imageUrl=model.profile_background type="profile_background"}} -
-
- {{i18n 'user.change_profile_background.instructions'}} -
-
- -
- -
- {{image-uploader imageUrl=model.card_background type="card_background"}} -
-
- {{i18n 'user.change_card_background.instructions'}} -
-
-{{/if}} - {{#if canChangeBio}}
@@ -50,6 +28,28 @@ {{/each}}
+{{#if siteSettings.allow_profile_backgrounds}} +
+ +
+ {{image-uploader imageUrl=model.profile_background type="profile_background"}} +
+
+ {{i18n 'user.change_profile_background.instructions'}} +
+
+ +
+ +
+ {{image-uploader imageUrl=model.card_background type="card_background"}} +
+
+ {{i18n 'user.change_card_background.instructions'}} +
+
+{{/if}} +