Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ci_lint_results_param.vue « lint « components « pipeline_editor « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 49225a7cac7a3ef58f76932d9eb4250dc2b3c04e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script>
import { capitalizeFirstCharacter } from '~/lib/utils/text_utility';
import { __ } from '~/locale';

export default {
  props: {
    stage: {
      type: String,
      required: true,
    },
    jobName: {
      type: String,
      required: true,
    },
  },
  computed: {
    formatParameter() {
      return __(`${capitalizeFirstCharacter(this.stage)} Job - ${this.jobName}`);
    },
  },
};
</script>

<template>
  <span data-testid="ci-lint-parameter">{{ formatParameter }}</span>
</template>