diff --git a/app/assets/javascripts/admin/templates/user-index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs index f172c651242..069d47ecb29 100644 --- a/app/assets/javascripts/admin/templates/user-index.hbs +++ b/app/assets/javascripts/admin/templates/user-index.hbs @@ -343,32 +343,31 @@ -
-

{{i18n 'admin.groups.title'}}

- - {{#if currentUser.admin}} -
-
{{i18n 'admin.groups.automatic'}}
-
{{automaticGroups}}
-
-
-
{{i18n 'admin.groups.custom'}}
-
- {{admin-group-selector selected=model.customGroups available=availableGroups}} +{{#if currentUser.admin}} +
+

{{i18n 'admin.groups.title'}}

+
+
{{i18n 'admin.groups.automatic'}}
+
{{automaticGroups}}
-
- {{#if model.customGroups}} - {{i18n 'admin.groups.primary'}} - {{combo-box content=model.customGroups value=model.primary_group_id nameProperty="name" none="admin.groups.no_primary"}} - {{/if}} - {{#if primaryGroupDirty}} - {{d-button icon="check" class="ok" action="savePrimaryGroup"}} - {{d-button icon="times" class="cancel" action="resetPrimaryGroup"}} - {{/if}} +
+
{{i18n 'admin.groups.custom'}}
+
+ {{admin-group-selector selected=model.customGroups available=availableGroups}} +
+
+ {{#if model.customGroups}} + {{i18n 'admin.groups.primary'}} + {{combo-box content=model.customGroups value=model.primary_group_id nameProperty="name" none="admin.groups.no_primary"}} + {{/if}} + {{#if primaryGroupDirty}} + {{d-button icon="check" class="ok" action="savePrimaryGroup"}} + {{d-button icon="times" class="cancel" action="resetPrimaryGroup"}} + {{/if}} +
-
- {{/if}} -
+
+{{/if}}

{{i18n 'admin.user.activity'}}