Commit 94f983b8 authored by Fatih Acet's avatar Fatih Acet

Merge branch '209002-change-evidence-sha-clipboard-button-hover-text' into 'master'

Fix evidence SHA clipboard hover text

Closes #209002

See merge request gitlab-org/gitlab!26608
parents a910a863 4f2f35f3
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
</template> </template>
</expand-button> </expand-button>
<clipboard-button <clipboard-button
:title="__('Copy commit SHA')" :title="__('Copy evidence SHA')"
:text="sha" :text="sha"
css-class="btn-default btn-transparent btn-clipboard" css-class="btn-default btn-transparent btn-clipboard"
/> />
......
---
title: Fix evidence SHA clipboard hover text.
merge_request: 26608
author: Gilang Gumilar
type: fixed
...@@ -5570,6 +5570,9 @@ msgstr "" ...@@ -5570,6 +5570,9 @@ msgstr ""
msgid "Copy commit SHA" msgid "Copy commit SHA"
msgstr "" msgstr ""
msgid "Copy evidence SHA"
msgstr ""
msgid "Copy file contents" msgid "Copy file contents"
msgstr "" msgstr ""
......
...@@ -67,7 +67,7 @@ describe('Evidence Block', () => { ...@@ -67,7 +67,7 @@ describe('Evidence Block', () => {
}); });
it('renders the correct hover text', () => { it('renders the correct hover text', () => {
expect(wrapper.find(ClipboardButton).attributes('title')).toBe('Copy commit SHA'); expect(wrapper.find(ClipboardButton).attributes('title')).toBe('Copy evidence SHA');
}); });
it('copies the sha', () => { it('copies the sha', () => {
......
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