summaryrefslogtreecommitdiff
path: root/app/views/shared/runners
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/runners')
-rw-r--r--app/views/shared/runners/_form.html.haml6
-rw-r--r--app/views/shared/runners/_runner_description.html.haml14
-rw-r--r--app/views/shared/runners/_shared_runners_description.html.haml4
3 files changed, 11 insertions, 13 deletions
diff --git a/app/views/shared/runners/_form.html.haml b/app/views/shared/runners/_form.html.haml
index 675a8f922c4..bb2aa93740e 100644
--- a/app/views/shared/runners/_form.html.haml
+++ b/app/views/shared/runners/_form.html.haml
@@ -5,7 +5,7 @@
.col-sm-10
.form-check
= f.check_box :active, { class: 'form-check-input' }
- %label.light{ for: :runner_active }= _("Paused Runners don't accept new jobs")
+ %label.light{ for: :runner_active }= _("Paused runners don't accept new jobs")
.form-group.row
= label :protected, _("Protected"), class: 'col-form-label col-sm-2'
.col-sm-10
@@ -40,13 +40,13 @@
= _('Maximum job timeout')
.col-sm-10
= f.text_field :maximum_timeout_human_readable, class: 'form-control'
- .form-text.text-muted= _('This timeout will take precedence when lower than project-defined timeout and accepts a human readable time input language like "1 hour". Values without specification represent seconds.')
+ .form-text.text-muted= _('Enter the number of seconds, or other human-readable input, like "1 hour". This timeout takes precedence over lower timeouts set for the project.')
.form-group.row
= label_tag :tag_list, class: 'col-form-label col-sm-2' do
= _('Tags')
.col-sm-10
= f.text_field :tag_list, value: runner.tag_list.sort.join(', '), class: 'form-control'
- .form-text.text-muted= _('You can set up jobs to only use Runners with specific tags. Separate tags with commas.')
+ .form-text.text-muted= _('You can set up jobs to only use runners with specific tags. Separate tags with commas.')
- if local_assigns[:in_gitlab_com_admin_context]
.form-group.row
= label_tag :public_projects_minutes_cost_factor, class: 'col-form-label col-sm-2' do
diff --git a/app/views/shared/runners/_runner_description.html.haml b/app/views/shared/runners/_runner_description.html.haml
index d3e50cfe92f..6a65145d42b 100644
--- a/app/views/shared/runners/_runner_description.html.haml
+++ b/app/views/shared/runners/_runner_description.html.haml
@@ -1,16 +1,12 @@
.light.gl-mt-3
%p
- = _("You can set up as many Runners as you need to run your jobs.")
- %br
- = _('Runners can be placed on separate users, servers, and even on your local machine.')
+ = _("Register as many runners as you want. You can register runners as separate users, on separate servers, and on your local machine. Runners are either:")
- %p
- = _('Each Runner can be in one of the following states:')
%div
%ul
%li
- %span.badge.badge-success active
- = _('- Runner is active and can process any new jobs')
+ %span.badge.badge-pill.gl-badge.sm.badge-success active
+ = _('- Available to run jobs.')
%li
- %span.badge.badge-danger paused
- = _('- Runner is paused and will not receive any new jobs')
+ %span.badge.badge-pill.gl-badge.sm.badge-danger paused
+ = _('- Not available to run jobs.')
diff --git a/app/views/shared/runners/_shared_runners_description.html.haml b/app/views/shared/runners/_shared_runners_description.html.haml
index b9fb518b1aa..92564ec48bd 100644
--- a/app/views/shared/runners/_shared_runners_description.html.haml
+++ b/app/views/shared/runners/_shared_runners_description.html.haml
@@ -1,9 +1,11 @@
- link = link_to _('MaxBuilds'), 'https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersmachine-section', target: '_blank'
-%h3
+%h4
= _('Shared runners')
.bs-callout.shared-runners-description
+ = _('These runners are shared across this GitLab instance.')
+ %p
- if Gitlab::CurrentSettings.shared_runners_text.present?
= markdown_field(Gitlab::CurrentSettings.current_application_settings, :shared_runners_text)
- else