Commit 4002561e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

New landing page when you have 0 projects

parent fc6ed495
...@@ -373,3 +373,12 @@ table { ...@@ -373,3 +373,12 @@ table {
text-align: center; text-align: center;
} }
} }
.dashboard-intro-icon {
float: left;
font-size: 32px;
color: #AAA;
padding: 5px 0;
width: 50px;
min-height: 100px;
}
%h3.nothing_here_message %h3.page-title Welcome to GitLab!
You don't have access to any projects. %p.light Self Hosted Git Management application.
%hr
%div
.dashboard-intro-icon
%i.icon-bookmark-empty
%div
%p.slead
You don't have access to any projects right now.
%br %br
- if current_user.can_create_project? - if current_user.can_create_project?
You can create up to You can create up to
= pluralize(current_user.projects_limit, "project") + "." %strong= pluralize(current_user.projects_limit, "project") + "."
Click on the button below to add a new one Click on the button below to add a new one
.link_holder
= link_to new_project_path, class: "btn btn-primary" do
New Project »
- else - else
If you are added to a project, it will be displayed here If you are added to a project, it will be displayed here
- if current_user.can_create_project?
.link_holder
= link_to new_project_path, class: "btn btn-new" do
New project »
- if current_user.can_create_group?
%hr
%div
.dashboard-intro-icon
%i.icon-group
%div
%p.slead
You can create a group for several dependent projects.
%br
Group is the best way to manage projects and members
.link_holder
= link_to new_group_path, class: "btn btn-new" do
New group »
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