Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/issues/list/components/empty_state_without_any_issues.vue')
-rw-r--r--app/assets/javascripts/issues/list/components/empty_state_without_any_issues.vue21
1 files changed, 17 insertions, 4 deletions
diff --git a/app/assets/javascripts/issues/list/components/empty_state_without_any_issues.vue b/app/assets/javascripts/issues/list/components/empty_state_without_any_issues.vue
index 3d62ea07f59..6741b39d5ef 100644
--- a/app/assets/javascripts/issues/list/components/empty_state_without_any_issues.vue
+++ b/app/assets/javascripts/issues/list/components/empty_state_without_any_issues.vue
@@ -61,6 +61,7 @@ export default {
:title="$options.i18n.noIssuesTitle"
:svg-path="emptyStateSvgPath"
:svg-height="150"
+ data-testid="issuable-empty-state"
>
<template #description>
<gl-link :href="$options.issuesHelpPagePath">
@@ -71,16 +72,26 @@ export default {
</p>
</template>
<template #actions>
- <gl-button v-if="canCreateProjects" :href="newProjectPath" variant="confirm">
+ <gl-button
+ v-if="canCreateProjects"
+ :href="newProjectPath"
+ variant="confirm"
+ class="gl-mx-2 gl-mb-3"
+ >
{{ $options.i18n.newProjectLabel }}
</gl-button>
- <gl-button v-if="showNewIssueLink" :href="newIssuePath" variant="confirm">
+ <gl-button
+ v-if="showNewIssueLink"
+ :href="newIssuePath"
+ variant="confirm"
+ class="gl-mx-2 gl-mb-3"
+ >
{{ $options.i18n.newIssueLabel }}
</gl-button>
<gl-disclosure-dropdown
v-if="showCsvButtons"
- class="gl-w-full gl-sm-w-auto gl-sm-mr-3"
+ class="gl-mx-2 gl-mb-3"
:toggle-text="$options.i18n.importIssues"
data-testid="import-issues-dropdown"
>
@@ -92,7 +103,7 @@ export default {
<new-resource-dropdown
v-if="showNewIssueDropdown"
- class="gl-align-self-center"
+ class="gl-align-self-center gl-mx-2 gl-mb-3"
:query="$options.searchProjectsQuery"
:query-variables="newIssueDropdownQueryVariables"
:extract-projects="extractProjects"
@@ -120,8 +131,10 @@ export default {
v-else
:title="$options.i18n.noIssuesTitle"
:svg-path="emptyStateSvgPath"
+ :svg-height="null"
:primary-button-text="$options.i18n.noIssuesSignedOutButtonText"
:primary-button-link="signInPath"
+ data-testid="issuable-empty-state"
>
<template #description>
<gl-link :href="$options.issuesHelpPagePath">