Commit d6a92bad authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Change links to build limits docs in app/views

parent e5c9bf36
......@@ -3,6 +3,6 @@
.col-sm-10
= form.number_field :shared_runners_minutes, class: 'form-control'
.help-block
Set the maximum number of build minutes that a group can use on shared runners per month.
Set the maximum number of build minutes that a group can use on shared Runners per month.
0 for unlimited.
= link_to "(?)", help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-minutes")
= link_to con('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-build-minutes-quota"), target: '_blank'
......@@ -3,4 +3,4 @@
%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")
= link_to icon('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-build-minutes-quota"), target: '_blank'
......@@ -6,8 +6,8 @@
Enabled
- if project.shared_runners_minutes_limit_enabled?
- limit = project.actual_shared_runners_minutes_limit.to_i
(Limited to #{limit} minutes per month)
(Limited to #{limit} build minutes per month)
- else
(Unlimited minutes)
(Unlimited build minutes)
- else
Disabled
......@@ -5,7 +5,7 @@
.col-sm-10
= f.number_field :shared_runners_minutes_limit, class: 'form-control', min: 0
%span.help-block#shared_runners_minutes_limit_help_block
Set the maximum number of build minutes that a group can use on shared runners per month.
Set the maximum number of build minutes that a group can use on shared Runners per month.
Set 0 for unlimited.
Set empty to inherit global setting of #{current_application_settings.shared_runners_minutes}.
= link_to icon('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-minutes")
Set empty to inherit the global setting of #{current_application_settings.shared_runners_minutes}.
= link_to icon('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-build-minutes-quota"), target: '_blank'
- page_title "Pipeline Quota"
%h3.page-title Group Pipeline Quota
%p.light Monthly build minutes usage across shared runners for #{@group.name}
- page_title "Pipelines quota"
%h3.page-title
Group pipelines quota
= link_to icon('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-build-minutes-quota"), target: '_blank'
%p.light
Monthly build minutes usage across shared Runners for the
%strong #{@group.name}
group
.pipeline-quota.container-fluid
.row
......@@ -11,7 +16,7 @@
Usage since
= last_reset.strftime('%b %d, %Y')
- else
Current Period Usage
Current period usage
%div
= group_shared_runner_limits_quota(@group)
minutes
......
......@@ -30,8 +30,8 @@
Audit Events
- if @group.shared_runners_enabled? && @group.shared_runners_minutes_limit_enabled?
= nav_link(controller: :pipeline_quota) do
= link_to group_pipeline_quota_path(@group), title: "Pipeline Quota" do
= link_to group_pipeline_quota_path(@group), title: "Pipelines quota" do
%span
Pipeline Quota
Pipelines quota
%li
= link_to 'Edit Group', edit_group_path(@group)
......@@ -3,11 +3,11 @@
- quota_limit = project.namespace.actual_shared_runners_minutes_limit
.bs-callout.bs-callout-warning
%p
You have used all your shared runner minutes
You have used all your shared Runner minutes
= "(#{quota_used} of #{quota_limit})."
- if can?(current_user, :admin_build, @project)
%br
For more information, go to the
= succeed "." do
= link_to namespace_project_runners_path(project.namespace, project) do
runners page
Runners page
......@@ -6,7 +6,7 @@
- if cookies[:hide_shared_runner_quota_message].blank? && has_limit && namespace.shared_runners_minutes_used? && can_see_status
.shared-runner-quota-message.alert.alert-warning.hidden-xs{ data: { scope: scope } }
= namespace.name
has exceeded their build minutes quota. Pipelines will not run anymore on shared runners.
has exceeded their build minutes quota. Pipelines will not run anymore on shared Runners.
.pull-right
= link_to 'Remind later', '#', class: 'hide-shared-runner-limit-message alert-link'
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