Commit 7d293e5a authored by Mike Greiling's avatar Mike Greiling

move template additions into partials to reduce merge conflicts

parent 3f4e9e38
- if group.shared_runners_enabled?
%li
%span.light Build minutes quota:
%strong
= group_shared_runner_limits_quota(group)
= link_to icon('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-minutes")
......@@ -44,12 +44,7 @@
= group_lfs_status(@group)
= link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs')
- if @group.shared_runners_enabled?
%li
%span.light Build minutes quota:
%strong
= group_shared_runner_limits_quota(@group)
= link_to icon('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-minutes")
= render "shared_runner_status", group: @group
.panel.panel-default
.panel-heading Linked LDAP groups
......
- if project.builds_enabled?
%li
%span.light Shared Runners:
%strong
- if project.shared_runners_enabled?
Enabled
- if project.shared_runners_minutes_quota?
- if project.shared_runners_minutes_limit_enabled?
- limit = project.actual_shared_runners_minutes_limit.to_i
(Limited to #{limit} minutes per month)
- else
(Unlimited minutes)
- else
Disabled
......@@ -90,20 +90,7 @@
%span.light archived:
%strong repository is read-only
- if @project.builds_enabled?
%li
%span.light Shared Runners:
%strong
- if @project.shared_runners_enabled?
Enabled
- if @project.shared_runners_minutes_quota?
- if @project.shared_runners_minutes_limit_enabled?
- limit = @project.actual_shared_runners_minutes_limit.to_i
(Limited to #{limit} minutes per month)
- else
(Unlimited minutes)
- else
Disabled
= render "shared_runner_status", project: @project
%li
%span.light access:
......
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