debian-mirror-gitlab/app/views/dashboard/projects/_blank_state_welcome.html.haml

49 lines
1.7 KiB
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
.blank-state-row
- if current_user.can_create_project?
2019-12-21 20:55:43 +05:30
= link_to new_project_path, class: "blank-state blank-state-link" do
.blank-state-icon
= custom_icon("add_new_project", size: 50)
.blank-state-body
%h3.blank-state-title
Create a project
%p.blank-state-text
Projects are where you store your code, access issues, wiki and other features of GitLab.
2018-03-17 18:26:18 +05:30
- else
.blank-state
.blank-state-icon
= custom_icon("add_new_project", size: 50)
.blank-state-body
%h3.blank-state-title
Create a project
%p.blank-state-text
If you are added to a project, it will be displayed here.
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
- if current_user.can_create_group?
2019-12-21 20:55:43 +05:30
= link_to new_group_path, class: "blank-state blank-state-link" do
.blank-state-icon
= custom_icon("add_new_group", size: 50)
.blank-state-body
%h3.blank-state-title
Create a group
%p.blank-state-text
Groups are the best way to manage projects and members.
2017-09-10 17:25:29 +05:30
2020-01-01 13:55:28 +05:30
= link_to trending_explore_projects_path, class: "blank-state blank-state-link" do
.blank-state-icon
= custom_icon("globe", size: 50)
.blank-state-body
%h3.blank-state-title
Explore public projects
%p.blank-state-text
Public projects are an easy way to allow
everyone to have read-only access.
2019-12-21 20:55:43 +05:30
= link_to "https://docs.gitlab.com/", class: "blank-state blank-state-link" do
.blank-state-icon
= custom_icon("lightbulb", 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.