Commit 90bf1ae9 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch '300243-show-message-when-user-has-no-groups-to-migrate' into 'master'

Update empty state message when user has no groups to migrate

See merge request gitlab-org/gitlab!54576
parents ef8b723a 42d865d2
......@@ -147,10 +147,15 @@ export default {
</div>
<gl-loading-icon v-if="$apollo.loading" size="md" class="gl-mt-5" />
<template v-else>
<gl-empty-state v-if="hasEmptyFilter" :title="__('Sorry, your filter produced no results')" />
<gl-empty-state
v-if="hasEmptyFilter"
:title="__('Sorry, your filter produced no results')"
:description="__('To widen your search, change or remove filters above.')"
/>
<gl-empty-state
v-else-if="!hasGroups"
:title="s__('BulkImport|No groups available for import')"
:title="s__('BulkImport|You have no groups to import')"
:description="s__('Check your source instance permissions.')"
/>
<div v-else class="gl-display-flex gl-flex-direction-column gl-align-items-center">
<table class="gl-w-full">
......
......@@ -5075,9 +5075,6 @@ msgstr ""
msgid "BulkImport|Importing the group failed"
msgstr ""
msgid "BulkImport|No groups available for import"
msgstr ""
msgid "BulkImport|Showing %{start}-%{end} of %{total} from %{link}"
msgstr ""
......@@ -5090,6 +5087,9 @@ msgstr ""
msgid "BulkImport|Update of import statuses with realtime changes failed"
msgstr ""
msgid "BulkImport|You have no groups to import"
msgstr ""
msgid "BulkImport|destination group cannot be part of the source group tree"
msgstr ""
......@@ -5650,6 +5650,9 @@ msgstr ""
msgid "Check your Docker images for known vulnerabilities."
msgstr ""
msgid "Check your source instance permissions."
msgstr ""
msgid "Checking %{text} availability…"
msgstr ""
......@@ -30910,6 +30913,9 @@ msgstr ""
msgid "To widen your search, change or remove filters above"
msgstr ""
msgid "To widen your search, change or remove filters above."
msgstr ""
msgid "To widen your search, change or remove filters."
msgstr ""
......
......@@ -80,7 +80,7 @@ describe('import table', () => {
});
await waitForPromises();
expect(wrapper.find(GlEmptyState).props().title).toBe('No groups available for import');
expect(wrapper.find(GlEmptyState).props().title).toBe('You have no groups to import');
});
it('renders import row for each group in response', async () => {
......
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