diff --git a/app/assets/javascripts/admin/templates/groups.hbs b/app/assets/javascripts/admin/templates/groups.hbs index 754ad674413..0de3fc5c796 100644 --- a/app/assets/javascripts/admin/templates/groups.hbs +++ b/app/assets/javascripts/admin/templates/groups.hbs @@ -1,6 +1,6 @@ {{#admin-nav}} - {{admin-nav-item route='adminGroupsType' routeParam='custom' label='admin.groups.custom.label'}} - {{admin-nav-item route='adminGroupsType' routeParam='automatic' label='admin.groups.automatic.label'}} + {{admin-nav-item route='adminGroupsType' routeParam='custom' label='admin.groups.custom'}} + {{admin-nav-item route='adminGroupsType' routeParam='automatic' label='admin.groups.automatic'}} {{/admin-nav}}
diff --git a/app/assets/javascripts/admin/templates/user_index.hbs b/app/assets/javascripts/admin/templates/user_index.hbs index 4dff9338a43..f2a60392936 100644 --- a/app/assets/javascripts/admin/templates/user_index.hbs +++ b/app/assets/javascripts/admin/templates/user_index.hbs @@ -83,29 +83,6 @@
- {{#if currentUser.admin}} -
-
{{i18n 'admin.groups.automatic.title'}}
-
{{automaticGroups}}
-
-
-
{{i18n 'admin.groups.custom.title'}}
-
- {{admin-group-selector selected=customGroups available=availableGroups}} -
-
- {{#if customGroups}} - {{i18n 'admin.groups.primary'}} - {{combo-box content=customGroups value=primary_group_id nameProperty="name" none="admin.groups.no_primary"}} - {{/if}} - {{#if primaryGroupDirty}} - {{d-button icon="check" class="ok no-text" action="savePrimaryGroup"}} - {{d-button icon="times" class="cancel no-text" action="resetPrimaryGroup"}} - {{/if}} -
-
- {{/if}} -
{{i18n 'user.ip_address.title'}}
{{ip_address}}
@@ -159,7 +136,6 @@ {{/if}} -

{{i18n 'admin.user.permissions'}}

@@ -355,6 +331,33 @@
+
+

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

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

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

diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 0f1a90ce619..9100d6d99d4 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1701,12 +1701,8 @@ en: name: "Name" add: "Add" add_members: "Add members" - custom: - label: "Custom" - title: "Custom Groups" - automatic: - label: "Automatic" - title: "Automatic Groups" + custom: "Custom" + automatic: "Automatic" automatic_membership_email_domains: "Users who register with an email domain that exactly matches one in this list will be automatically added to this group:" automatic_membership_retroactive: "Apply the same email domain rule to add existing registered users"