Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2d3bbcf6
Commit
2d3bbcf6
authored
Jan 17, 2022
by
Sheldon Led
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs links of SaaS User Caps
parent
b6792b4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/helpers/ee/groups/settings_helper.rb
ee/app/helpers/ee/groups/settings_helper.rb
+1
-1
ee/app/views/shared/_namespace_user_cap_reached_alert.html.haml
.../views/shared/_namespace_user_cap_reached_alert.html.haml
+2
-2
No files found.
ee/app/helpers/ee/groups/settings_helper.rb
View file @
2d3bbcf6
...
@@ -12,7 +12,7 @@ module EE
...
@@ -12,7 +12,7 @@ module EE
end
end
def
saas_user_caps_help_text
(
group
)
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
}
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
}
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
}
...
...
ee/app/views/shared/_namespace_user_cap_reached_alert.html.haml
View file @
2d3bbcf6
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
-
root_namespace
=
namespace
.
root_ancestor
-
root_namespace
=
namespace
.
root_ancestor
-
pending_users_link
=
pending_members_group_usage_quotas_path
(
root_namespace
)
-
pending_users_link
=
pending_members_group_usage_quotas_path
(
root_namespace
)
-
link_start
=
'<a href="%{url}" target="_blank" rel="noopener noreferrer">'
-
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
'
)
}
-
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/
admin_area/moderate_users
'
)
}
-
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
-
link_end
=
'</a>'
.
html_safe
.gl-py-5
.gl-py-5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment