From 2fd0d6e29b8ed06c07354a6b3f2d81e938417489 Mon Sep 17 00:00:00 2001 From: Brandon Labuschagne Date: Tue, 19 Feb 2019 15:01:58 +0000 Subject: Improve empty state for starred projects In this MR, a view for the empty state of projects has been added. In addition, an svg for this has also been added. --- app/views/dashboard/projects/_starred_empty_state.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/views/dashboard/projects/_starred_empty_state.html.haml (limited to 'app/views/dashboard/projects/_starred_empty_state.html.haml') diff --git a/app/views/dashboard/projects/_starred_empty_state.html.haml b/app/views/dashboard/projects/_starred_empty_state.html.haml new file mode 100644 index 00000000000..bea27f1a456 --- /dev/null +++ b/app/views/dashboard/projects/_starred_empty_state.html.haml @@ -0,0 +1,9 @@ +.row.empty-state + .col-12 + .svg-content.svg-250 + = image_tag 'illustrations/starred_empty.svg' + .text-content + %h4.text-center + = s_("StarredProjectsEmptyState|You don't have starred projects yet.") + %p.text-secondary + = s_("StarredProjectsEmptyState|Visit a project page and press on a star icon. Then, you can find the project on this page.") -- cgit v1.2.3