Commit b1fa134a authored by Lee Tickett's avatar Lee Tickett

Link issue contacts widget to crm docs

Removes the "work in progress wordage" and links to the crm docs
instead of the main crm issue.
parent 82253cc6
<script> <script>
import { GlIcon, GlPopover, GlTooltipDirective } from '@gitlab/ui'; import { GlIcon, GlLink, GlPopover, GlTooltipDirective } from '@gitlab/ui';
import { __, n__, sprintf } from '~/locale'; import { __, n__, sprintf } from '~/locale';
import createFlash from '~/flash'; import createFlash from '~/flash';
import { convertToGraphQLId } from '~/graphql_shared/utils'; import { convertToGraphQLId } from '~/graphql_shared/utils';
...@@ -10,6 +10,7 @@ import issueCrmContactsSubscription from './queries/issue_crm_contacts.subscript ...@@ -10,6 +10,7 @@ import issueCrmContactsSubscription from './queries/issue_crm_contacts.subscript
export default { export default {
components: { components: {
GlIcon, GlIcon,
GlLink,
GlPopover, GlPopover,
}, },
directives: { directives: {
...@@ -85,9 +86,6 @@ export default { ...@@ -85,9 +86,6 @@ export default {
); );
}, },
}, },
i18n: {
help: __('Work in progress- click here to find out more'),
},
}; };
</script> </script>
...@@ -97,11 +95,10 @@ export default { ...@@ -97,11 +95,10 @@ export default {
<gl-icon name="users" /> <gl-icon name="users" />
<span> {{ contactCount }} </span> <span> {{ contactCount }} </span>
</div> </div>
<div <div class="hide-collapsed help-button gl-float-right">
v-gl-tooltip.left.viewport="$options.i18n.help" <gl-link href="https://docs.gitlab.com/ee/user/crm/" target="_blank"
class="hide-collapsed help-button float-right" ><gl-icon name="question-o"
> /></gl-link>
<a href="https://gitlab.com/gitlab-org/gitlab/-/issues/2256"><gl-icon name="question-o" /></a>
</div> </div>
<div class="title hide-collapsed gl-mb-2 gl-line-height-20"> <div class="title hide-collapsed gl-mb-2 gl-line-height-20">
{{ contactsLabel }} {{ contactsLabel }}
......
...@@ -40333,9 +40333,6 @@ msgstr "" ...@@ -40333,9 +40333,6 @@ msgstr ""
msgid "Work in progress Limit" msgid "Work in progress Limit"
msgstr "" msgstr ""
msgid "Work in progress- click here to find out more"
msgstr ""
msgid "WorkItem|Work Items" msgid "WorkItem|Work Items"
msgstr "" 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