Commit 9a3efea2 authored by pburdette's avatar pburdette

Change tooltip text for pipeline

Change the tooltip text for a pipeline
icon on the last_commit.vue component.
parent 53ff399b
......@@ -71,8 +71,8 @@ export default {
},
computed: {
statusTitle() {
return sprintf(s__('Commits|Commit: %{commitText}'), {
commitText: this.commit.pipeline.detailedStatus.text,
return sprintf(s__('PipelineStatusTooltip|Pipeline: %{ciStatus}'), {
ciStatus: this.commit.pipeline.detailedStatus.text,
});
},
isLoading() {
......
......@@ -4984,9 +4984,6 @@ msgstr ""
msgid "Commits|An error occurred while fetching merge requests data."
msgstr ""
msgid "Commits|Commit: %{commitText}"
msgstr ""
msgid "Commits|History"
msgstr ""
......@@ -13968,6 +13965,9 @@ msgstr ""
msgid "PipelineStatusTooltip|Pipeline: %{ci_status}"
msgstr ""
msgid "PipelineStatusTooltip|Pipeline: %{commitText}"
msgstr ""
msgid "Pipelines"
msgstr ""
......
......@@ -14,7 +14,7 @@ describe 'Projects > Show > User sees last commit CI status' do
page.within '.commit-detail' do
expect(page).to have_content(project.commit.sha[0..6])
expect(page).to have_selector('[aria-label="Commit: skipped"]')
expect(page).to have_selector('[aria-label="Pipeline: skipped"]')
end
end
end
......@@ -68,10 +68,10 @@ exports[`Repository last commit component renders commit widget 1`] = `
<gl-link-stub
class="js-commit-pipeline"
href="https://test.com/pipeline"
title="Commit: failed"
title="Pipeline: failed"
>
<ci-icon-stub
aria-label="Commit: failed"
aria-label="Pipeline: failed"
cssclasses=""
size="24"
status="[object Object]"
......@@ -174,10 +174,10 @@ exports[`Repository last commit component renders the signature HTML as returned
<gl-link-stub
class="js-commit-pipeline"
href="https://test.com/pipeline"
title="Commit: failed"
title="Pipeline: failed"
>
<ci-icon-stub
aria-label="Commit: failed"
aria-label="Pipeline: failed"
cssclasses=""
size="24"
status="[object Object]"
......
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