Commit 99b2b8d0 authored by Etienne Baqué's avatar Etienne Baqué

Merge branch 'led/344465-update-docs-links-saas-user-caps' into 'master'

Update docs links of SaaS User Caps

See merge request gitlab-org/gitlab!77573
parents ecb83ba0 2d3bbcf6
......@@ -12,7 +12,7 @@ module EE
end
def saas_user_caps_help_text(group)
user_cap_docs_link_url = help_page_path("/user/admin_area/settings/sign_up_restrictions", anchor: "user-cap")
user_cap_docs_link_url = help_page_path('user/group/index', anchor: 'user-cap-for-groups')
user_cap_docs_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: user_cap_docs_link_url }
html_escape(saas_user_caps_i18n_string(group)) % { user_cap_docs_link_start: user_cap_docs_link_start, user_cap_docs_link_end: '</a>'.html_safe }
......
......@@ -6,8 +6,8 @@
- root_namespace = namespace.root_ancestor
- pending_users_link = pending_members_group_usage_quotas_path(root_namespace)
- link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'
- user_caps_link_start = link_start.html_safe % { url: help_page_path('user/admin_area/settings/sign_up_restrictions', anchor: 'user-cap') }
- users_pending_approval_link_start = link_start.html_safe % { url: help_page_path('user/admin_area/moderate_users') }
- user_caps_link_start = link_start.html_safe % { url: help_page_path('user/group/index', anchor: 'user-cap-for-groups') }
- users_pending_approval_link_start = link_start.html_safe % { url: help_page_path('user/group/index', anchor: 'approve-pending-members-for-a-group') }
- link_end = '</a>'.html_safe
.gl-py-5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment