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
3d2a3403
Commit
3d2a3403
authored
Nov 18, 2021
by
Ammar Alakkad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pending_members route
parent
287fcdb1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
1 deletion
+19
-1
ee/app/controllers/groups/usage_quotas_controller.rb
ee/app/controllers/groups/usage_quotas_controller.rb
+5
-0
ee/app/views/groups/usage_quotas/pending_members.html.haml
ee/app/views/groups/usage_quotas/pending_members.html.haml
+6
-0
ee/config/routes/group.rb
ee/config/routes/group.rb
+5
-1
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
ee/app/controllers/groups/usage_quotas_controller.rb
View file @
3d2a3403
...
...
@@ -17,6 +17,11 @@ class Groups::UsageQuotasController < Groups::ApplicationController
@projects
=
@group
.
all_projects
.
with_shared_runners
.
page
(
params
[
:page
])
end
def
pending_members
render_404
unless
::
Feature
.
enabled?
(
:saas_user_caps
,
@group
.
root_ancestor
,
default_enabled: :yaml
)
@hide_search_settings
=
true
end
private
def
verify_usage_quotas_enabled!
...
...
ee/app/views/groups/usage_quotas/pending_members.html.haml
0 → 100644
View file @
3d2a3403
-
page_title
s_
(
"UsageQuota|Pending Members"
)
%h3
.page-title
=
s_
(
'UsageQuota|Pending Members'
)
#js-pending-members-app
{
data:
{
}
}
ee/config/routes/group.rb
View file @
3d2a3403
...
...
@@ -82,7 +82,11 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
resources
:ldap_group_links
,
only:
[
:index
,
:create
,
:destroy
]
resources
:saml_group_links
,
only:
[
:index
,
:create
,
:destroy
]
resources
:audit_events
,
only:
[
:index
]
resources
:usage_quotas
,
only:
[
:index
]
resources
:usage_quotas
,
only:
[
:index
]
do
collection
do
get
:pending_members
end
end
resources
:hooks
,
only:
[
:index
,
:create
,
:edit
,
:update
,
:destroy
],
constraints:
{
id:
/\d+/
}
do
member
do
...
...
locale/gitlab.pot
View file @
3d2a3403
...
...
@@ -37484,6 +37484,9 @@ msgstr ""
msgid "UsageQuota|Packages"
msgstr ""
msgid "UsageQuota|Pending Members"
msgstr ""
msgid "UsageQuota|Pipeline artifacts and job artifacts, created with CI/CD."
msgstr ""
...
...
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