Commit 2a299bf9 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '29951-add-question-mark' into 'master'

Add docs link to explain legacy and new email format

See merge request gitlab-org/gitlab-ee!9020
parents fedc82f4 7b02c38d
......@@ -59,6 +59,16 @@ export default {
:text="incomingEmail"
css-class="btn btn-clipboard btn-transparent"
/>
<a
href="https://docs.gitlab.com/ee/development/emails.html#email-namespace"
target="_blank"
rel="noopener"
>
<i
class="fa fa-question-circle"
:aria-label="__('Learn more about incoming email addresses')"
></i>
</a>
</template>
<template v-else>
<i class="fa fa-spinner fa-spin" aria-hidden="true"> </i>
......
---
title: Add docs link to explain legacy and new email format
merge_request: 9020
author:
type: changed
......@@ -67,6 +67,18 @@ describe('ServiceDeskSetting', () => {
expect(button).not.toBe(null);
expect(button.dataset.clipboardText).toBe(incomingEmail);
});
it('renders a help question icon which links to gitlab docs', () => {
const link = vm.$el.querySelector('.card-body a');
expect(link).not.toBeNull();
expect(link.href).toContain('docs.gitlab.com');
const icon = link.querySelector('i.fa-question-circle');
expect(icon).not.toBeNull();
});
});
});
......
......@@ -5174,6 +5174,9 @@ msgstr ""
msgid "Learn more about group-level project templates"
msgstr ""
msgid "Learn more about incoming email addresses"
msgstr ""
msgid "Learn more about protected branches"
msgstr ""
......
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