diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 23:50:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 23:50:22 +0000 |
commit | 9dc93a4519d9d5d7be48ff274127136236a3adb3 (patch) | |
tree | 70467ae3692a0e35e5ea56bcb803eb512a10bedb /app/assets/javascripts/pipeline_new | |
parent | 4b0f34b6d759d6299322b3a54453e930c6121ff0 (diff) | |
download | gitlab-ce-9dc93a4519d9d5d7be48ff274127136236a3adb3.tar.gz |
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43
Diffstat (limited to 'app/assets/javascripts/pipeline_new')
-rw-r--r-- | app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue b/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue index ff6a354f673..e44d80ee9d1 100644 --- a/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue +++ b/app/assets/javascripts/pipeline_new/components/pipeline_new_form.vue @@ -33,6 +33,7 @@ const i18n = { submitErrorTitle: s__('Pipeline|Pipeline cannot be run.'), warningTitle: __('The form contains the following warning:'), maxWarningsSummary: __('%{total} warnings found: showing first %{warningsDisplayed}'), + removeVariableLabel: s__('CiVariables|Remove variable'), }; export default { @@ -416,15 +417,17 @@ export default { data-testid="remove-ci-variable-row" variant="danger" category="secondary" + :aria-label="$options.i18n.removeVariableLabel" @click="removeVariable(index)" > <gl-icon class="gl-mr-0! gl-display-none gl-md-display-block" name="clear" /> - <span class="gl-md-display-none">{{ s__('CiVariables|Remove variable') }}</span> + <span class="gl-md-display-none">{{ $options.i18n.removeVariableLabel }}</span> </gl-button> <gl-button v-else class="gl-md-ml-3 gl-mb-3 gl-display-none gl-md-display-block gl-visibility-hidden" icon="clear" + :aria-label="$options.i18n.removeVariableLabel" /> </template> </div> @@ -441,18 +444,16 @@ export default { </gl-sprintf></template > </gl-form-group> - <div - class="gl-border-t-solid gl-border-gray-100 gl-border-t-1 gl-p-5 gl-bg-gray-10 gl-display-flex gl-justify-content-space-between" - > + <div class="gl-pt-5 gl-display-flex"> <gl-button type="submit" category="primary" - variant="success" - class="js-no-auto-disable" + variant="confirm" + class="js-no-auto-disable gl-mr-3" data-qa-selector="run_pipeline_button" data-testid="run_pipeline_button" :disabled="submitted" - >{{ s__('Pipeline|Run Pipeline') }}</gl-button + >{{ s__('Pipeline|Run pipeline') }}</gl-button > <gl-button :href="pipelinesPath">{{ __('Cancel') }}</gl-button> </div> |