Moving staff counters back to the top of profiles

Moving staff counters back to the top of profiles

diff --git a/app/assets/javascripts/discourse/templates/user.hbs b/app/assets/javascripts/discourse/templates/user.hbs
index a014d42..765b011 100644
--- a/app/assets/javascripts/discourse/templates/user.hbs
+++ b/app/assets/javascripts/discourse/templates/user.hbs
@@ -3,38 +3,38 @@
 
     <section class="{{if collapsedInfo 'collapsed-info'}} about {{if hasProfileBackground 'has-background' 'no-background'}}" >
     {{#unless collapsedInfo}}
+    {{#if showStaffCounters}}
+      <div class='staff-counters'>
+        {{#if model.number_of_flags_given}}
+          <div><span class="helpful-flags">{{model.number_of_flags_given}}</span>{{i18n 'user.staff_counters.flags_given'}}</div>
+        {{/if}}
+        {{#if model.number_of_flagged_posts}}
+          <div>
+            {{#link-to 'review' (query-params username=model.username status='all' type='ReviewableFlaggedPost')}}
+              <span class="flagged-posts">{{model.number_of_flagged_posts}}</span>{{i18n 'user.staff_counters.flagged_posts'}}
+            {{/link-to}}
+          </div>
+        {{/if}}
+        {{#if model.number_of_deleted_posts}}
+          <div>
+            {{#link-to 'user.deletedPosts' model}}
+              <span class="deleted-posts">{{model.number_of_deleted_posts}}</span>{{i18n 'user.staff_counters.deleted_posts'}}
+            {{/link-to}}
+          </div>
+        {{/if}}
+        {{#if model.number_of_suspensions}}
+          <div>
+            <a {{action "showSuspensions"}}>
+              <span class="suspensions">{{model.number_of_suspensions}}</span>{{i18n 'user.staff_counters.suspensions'}}
+            </a>
+          </div>
+        {{/if}}
+        {{#if model.warnings_received_count}}
+          <div><span class="warnings-received">{{model.warnings_received_count}}</span>{{i18n 'user.staff_counters.warnings_received'}}</div>
+        {{/if}}
+      </div>
+    {{/if}}
     <div class="user-profile-image" style={{model.profileBackground}}></div>
-      {{#if showStaffCounters}}
-        <div class='staff-counters'>
-          {{#if model.number_of_flags_given}}
-            <div><span class="helpful-flags">{{model.number_of_flags_given}}</span>{{i18n 'user.staff_counters.flags_given'}}</div>
-          {{/if}}
-          {{#if model.number_of_flagged_posts}}
-            <div>
-              {{#link-to 'review' (query-params username=model.username status='all' type='ReviewableFlaggedPost')}}
-                <span class="flagged-posts">{{model.number_of_flagged_posts}}</span>{{i18n 'user.staff_counters.flagged_posts'}}
-              {{/link-to}}
-            </div>
-          {{/if}}
-          {{#if model.number_of_deleted_posts}}
-            <div>
-              {{#link-to 'user.deletedPosts' model}}
-                <span class="deleted-posts">{{model.number_of_deleted_posts}}</span>{{i18n 'user.staff_counters.deleted_posts'}}
-              {{/link-to}}
-            </div>
-          {{/if}}
-          {{#if model.number_of_suspensions}}
-            <div>
-              <a {{action "showSuspensions"}}>
-                <span class="suspensions">{{model.number_of_suspensions}}</span>{{i18n 'user.staff_counters.suspensions'}}
-              </a>
-            </div>
-          {{/if}}
-          {{#if model.warnings_received_count}}
-            <div><span class="warnings-received">{{model.warnings_received_count}}</span>{{i18n 'user.staff_counters.warnings_received'}}</div>
-          {{/if}}
-        </div>
-      {{/if}}
     {{/unless}}
 
       <div class='details'>
diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scss
index 296c8f8..77e3220 100644
--- a/app/assets/stylesheets/desktop/user.scss
+++ b/app/assets/stylesheets/desktop/user.scss
@@ -205,10 +205,6 @@
     }
   }
 
-  .staff-counters {
-    margin-bottom: 20px;
-  }
-
   .user-field {
     input[type="text"] {
       width: 530px;
diff --git a/app/assets/stylesheets/mobile/user.scss b/app/assets/stylesheets/mobile/user.scss
index b0990b9..12b8806 100644
--- a/app/assets/stylesheets/mobile/user.scss
+++ b/app/assets/stylesheets/mobile/user.scss
@@ -274,10 +274,6 @@
   }
 }
 
-.staff-counters {
-  margin-bottom: s(4);
-}
-
 .user-right {
   &,
   > .user-stream {

GitHub sha: 9603c906