blob: 23808bcb292e3cd98946edeed480cb0a4ed44ffa (
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 { __ } from '~/locale';
import { capitalizeFirstCharacter } from '~/lib/utils/text_utility';
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>
|