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
8d2eb73b
Commit
8d2eb73b
authored
Apr 16, 2021
by
Cynthia Ng
Committed by
Vitaly Slobodin
Apr 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display additional minutes in group admin
parent
b17c41f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-0
ee/app/views/namespaces/_additional_minutes_status.html.haml
ee/app/views/namespaces/_additional_minutes_status.html.haml
+12
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/views/admin/groups/show.html.haml
View file @
8d2eb73b
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'topics/git/lfs/index'
)
=
link_to
sprite_icon
(
'question-o'
),
help_page_path
(
'topics/git/lfs/index'
)
=
render_if_exists
'namespaces/shared_runner_status'
,
namespace:
@group
=
render_if_exists
'namespaces/shared_runner_status'
,
namespace:
@group
=
render_if_exists
'namespaces/additional_minutes_status'
,
namespace:
@group
=
render
'shared/custom_attributes'
,
custom_attributes:
@group
.
custom_attributes
=
render
'shared/custom_attributes'
,
custom_attributes:
@group
.
custom_attributes
...
...
ee/app/views/namespaces/_additional_minutes_status.html.haml
0 → 100644
View file @
8d2eb73b
-
return
unless
Gitlab
.
com?
-
namespace
=
local_assigns
.
fetch
(
:namespace
)
-
minutes_quota
=
namespace
.
ci_minutes_quota
-
return
unless
minutes_quota
.
enabled?
-
if
minutes_quota
.
namespace_eligible?
%li
%span
.light
=
_
(
'Additional minutes:'
)
%strong
=
ci_minutes_report
(
minutes_quota
.
purchased_minutes_report
)
locale/gitlab.pot
View file @
8d2eb73b
...
@@ -2102,6 +2102,9 @@ msgstr ""
...
@@ -2102,6 +2102,9 @@ msgstr ""
msgid "Additional minutes"
msgid "Additional minutes"
msgstr ""
msgstr ""
msgid "Additional minutes:"
msgstr ""
msgid "Additional text"
msgid "Additional text"
msgstr ""
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