diff --git a/app/locales/taiga/locale-en.json b/app/locales/taiga/locale-en.json index 93422554..31cc0831 100644 --- a/app/locales/taiga/locale-en.json +++ b/app/locales/taiga/locale-en.json @@ -611,7 +611,8 @@ "REPLACEMENT_ROLE": "All the users with this role will be moved to", "WARNING_DELETE_ROLE": "Be careful! All role estimations will be removed", "ERROR_DELETE_ALL": "You can't delete all values", - "EXTERNAL_USER": "External user" + "EXTERNAL_USER": "External user", + "NOTE_EXTERNAL_USERS": "Note: by External User we mean any anonymous user not belonging to the Taiga platform, including search engines. Please use this role with care." }, "THIRD_PARTIES": { "SECRET_KEY": "Secret key", diff --git a/app/partials/admin/admin-roles.jade b/app/partials/admin/admin-roles.jade index 114a1813..43c4f857 100644 --- a/app/partials/admin/admin-roles.jade +++ b/app/partials/admin/admin-roles.jade @@ -34,6 +34,9 @@ div.wrapper.roles(ng-controller="RolesController as ctrl", div.any-computable-role(ng-hide="anyComputableRole", translate="ADMIN.ROLES.WARNING_NO_ROLE") + div.general-category.external-user(ng-if="role.external_user") + span(translate="ADMIN.ROLES.NOTE_EXTERNAL_USERS") + div.general-category(ng-if="!role.external_user") span(translate="ADMIN.ROLES.HELP_ROLE_ENABLED") div.check diff --git a/app/styles/modules/admin/admin-roles.scss b/app/styles/modules/admin/admin-roles.scss index 90f0692d..353e06b2 100644 --- a/app/styles/modules/admin/admin-roles.scss +++ b/app/styles/modules/admin/admin-roles.scss @@ -48,6 +48,9 @@ display: flex; justify-content: flex-end; padding-bottom: 2rem; + &.external-user { + justify-content: flex-start; + } .check { margin-left: .5rem; input {