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/views/dashboard/projects/_starred_empty_state.html.haml')
-rw-r--r--app/views/dashboard/projects/_starred_empty_state.html.haml14
1 files changed, 5 insertions, 9 deletions
diff --git a/app/views/dashboard/projects/_starred_empty_state.html.haml b/app/views/dashboard/projects/_starred_empty_state.html.haml
index dafa3b4dc8d..f49960695f6 100644
--- a/app/views/dashboard/projects/_starred_empty_state.html.haml
+++ b/app/views/dashboard/projects/_starred_empty_state.html.haml
@@ -1,9 +1,5 @@
-.row.empty-state
- .col-12
- .svg-content.svg-150
- = image_tag 'illustrations/empty-state/empty-projects-starred-md.svg'
- .text-content
- %h4.gl-text-center
- = s_("StarredProjectsEmptyState|You don't have starred projects yet.")
- %p.gl-text-gray-500
- = s_("StarredProjectsEmptyState|Visit a project page and press on a star icon. Then, you can find the project on this page.")
+= render Pajamas::EmptyStateComponent.new(svg_path: 'illustrations/empty-state/empty-projects-starred-md.svg',
+ title: s_("StarredProjectsEmptyState|You don't have starred projects yet.")) do |c|
+
+ - c.with_description do
+ = s_("StarredProjectsEmptyState|Visit a project page and press on a star icon. Then, you can find the project on this page.")