BigW Consortium Gitlab

Add four blocks to each welcome page

parent 250d606a
.row
.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-icon
= custom_icon("add_new_user", size: 50)
= custom_icon("add_new_project", size: 50)
.blank-state-body
%h3.blank-state-title
Add user
Create a project
%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?
.col-md-6
......@@ -23,6 +23,17 @@
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
= link_to admin_root_path, class: "blank-state-link" do
.blank-state
.blank-state-icon
......
......@@ -11,11 +11,7 @@
%h3.blank-state-title
Create a project
%p.blank-state-text
You don't have access to any projects right now.
You can create up to
%strong= number_with_delimiter(current_user.projects_limit)
= succeed "." do
= "project".pluralize(current_user.projects_limit)
Projects are where you store your code, access issues, wiki and other features of GitLab.
- else
.blank-state
.blank-state-icon
......@@ -34,7 +30,7 @@
= custom_icon("add_new_group", size: 50)
.blank-state-body
%h3.blank-state-title
Create a group for several dependent projects.
Create a group
%p.blank-state-text
Groups are the best way to manage projects and members.
......@@ -55,3 +51,14 @@
public projects on this server.
Public projects are an easy way to allow
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