Admin.groups.manage.membership.automatic not replaced

I think it’s quite easy to fix.

At the moment, the tooltip is visible for everyone, but it uses a string for the admin section:


I think the information is only relevant to those who can add group members. This can include admins, group owners, and, depending on the moderators manage categories and groups setting, moderators. I believe that automatic groups cannot have owners, so anyone allowed to manage the automatic group should also be able to access the admin section string, and it could be hidden for everyone else.

+       {{#if this.canManageGroup}}
          {{#if this.model.automatic}}
            <DTooltip class="admin-group-automatic-tooltip">
              <:trigger>
                {{d-icon "gear"}}
                {{i18n "admin.groups.manage.membership.automatic"}}
              </:trigger>
              <:content>
                {{i18n "admin.groups.manage.membership.automatic_tooltip"}}
              </:content>
            </DTooltip>
          {{/if}}
+       {{/if}}
4 Likes