Commit f014fce1 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Add four blocks to each welcome page

parent 250d606a
.row .row
.col-md-6 .col-md-6
= link_to new_admin_user_path, class: "blank-state-link" do = link_to new_project_path, class: "blank-state-link" do
.blank-state .blank-state
.blank-state-icon .blank-state-icon
= custom_icon("add_new_user", size: 50) = custom_icon("add_new_project", size: 50)
.blank-state-body .blank-state-body
%h3.blank-state-title %h3.blank-state-title
Add user Create a project
%p.blank-state-text %p.blank-state-text
Add your team members and others to GitLab. Projects are where you store your code, access issues, wiki and other features of GitLab.
- if current_user.can_create_group? - if current_user.can_create_group?
.col-md-6 .col-md-6
...@@ -22,6 +22,17 @@ ...@@ -22,6 +22,17 @@
%p.blank-state-text %p.blank-state-text
Groups are a great way to organize projects and people. Groups are a great way to organize projects and people.
.col-md-6
= link_to "new_admin_user_path", class: "blank-state-link" do
.blank-state
.blank-state-icon
= custom_icon("add_new_user", size: 50)
.blank-state-body
%h3.blank-state-title
Add user
%p.blank-state-text
Add your team members and others to GitLab.
.col-md-6 .col-md-6
= link_to admin_root_path, class: "blank-state-link" do = link_to admin_root_path, class: "blank-state-link" do
.blank-state .blank-state
......
...@@ -11,11 +11,7 @@ ...@@ -11,11 +11,7 @@
%h3.blank-state-title %h3.blank-state-title
Create a project Create a project
%p.blank-state-text %p.blank-state-text
You don't have access to any projects right now. Projects are where you store your code, access issues, wiki and other features of GitLab.
You can create up to
%strong= number_with_delimiter(current_user.projects_limit)
= succeed "." do
= "project".pluralize(current_user.projects_limit)
- else - else
.blank-state .blank-state
.blank-state-icon .blank-state-icon
...@@ -34,7 +30,7 @@ ...@@ -34,7 +30,7 @@
= custom_icon("add_new_group", size: 50) = custom_icon("add_new_group", size: 50)
.blank-state-body .blank-state-body
%h3.blank-state-title %h3.blank-state-title
Create a group for several dependent projects. Create a group
%p.blank-state-text %p.blank-state-text
Groups are the best way to manage projects and members. Groups are the best way to manage projects and members.
...@@ -55,3 +51,14 @@ ...@@ -55,3 +51,14 @@
public projects on this server. public projects on this server.
Public projects are an easy way to allow Public projects are an easy way to allow
everyone to have read-only access. everyone to have read-only access.
.col-md-6
= link_to "https://docs.gitlab.com/", class: "blank-state-link" do
.blank-state
.blank-state-icon
= custom_icon("globe", size: 50)
.blank-state-body
%h3.blank-state-title
Learn more about GitLab
%p.blank-state-text
Take a look at the documentation to discover all of GitLab's capabilities.
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