2022-04-04 11:22:00 +05:30
|
|
|
|
- link_classes = "blank-state blank-state-link gl-text-body gl-display-flex gl-align-items-center gl-border-1 gl-border-solid gl-border-gray-100 gl-rounded-base gl-mb-5"
|
|
|
|
|
|
|
|
|
|
.gl-display-flex.gl-flex-wrap.gl-justify-content-space-between
|
2018-03-17 18:26:18 +05:30
|
|
|
|
- if current_user.can_create_project?
|
2022-04-04 11:22:00 +05:30
|
|
|
|
= link_to new_project_path, class: link_classes do
|
2019-12-21 20:55:43 +05:30
|
|
|
|
.blank-state-icon
|
|
|
|
|
= custom_icon("add_new_project", size: 50)
|
2023-05-27 22:25:52 +05:30
|
|
|
|
.blank-state-body.gl-sm-pl-6
|
2022-04-04 11:22:00 +05:30
|
|
|
|
%h3.gl-font-size-h2.gl-mt-0
|
|
|
|
|
= _('Create a project')
|
|
|
|
|
%p
|
|
|
|
|
= _('Projects are where you store your code, access issues, wiki and other features of GitLab.')
|
2018-03-17 18:26:18 +05:30
|
|
|
|
- else
|
2022-10-11 01:57:18 +05:30
|
|
|
|
= render Pajamas::AlertComponent.new(variant: :info, alert_options: { class: 'gl-mb-5 gl-w-full' }) do |c|
|
|
|
|
|
= c.body do
|
|
|
|
|
= _("You see projects here when you're added to a group or project.").html_safe
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
|
- if current_user.can_create_group?
|
2022-04-04 11:22:00 +05:30
|
|
|
|
= link_to new_group_path, class: link_classes do
|
2019-12-21 20:55:43 +05:30
|
|
|
|
.blank-state-icon
|
|
|
|
|
= custom_icon("add_new_group", size: 50)
|
2023-05-27 22:25:52 +05:30
|
|
|
|
.blank-state-body.gl-sm-pl-6
|
2022-04-04 11:22:00 +05:30
|
|
|
|
%h3.gl-font-size-h2.gl-mt-0
|
|
|
|
|
= _('Create a group')
|
|
|
|
|
%p
|
|
|
|
|
= _('Groups are the best way to manage projects and members.')
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
2022-04-04 11:22:00 +05:30
|
|
|
|
= link_to trending_explore_projects_path, class: link_classes do
|
2020-01-01 13:55:28 +05:30
|
|
|
|
.blank-state-icon
|
|
|
|
|
= custom_icon("globe", size: 50)
|
2023-05-27 22:25:52 +05:30
|
|
|
|
.blank-state-body.gl-sm-pl-6
|
2022-04-04 11:22:00 +05:30
|
|
|
|
%h3.gl-font-size-h2.gl-mt-0
|
|
|
|
|
= _('Explore public projects')
|
|
|
|
|
%p
|
|
|
|
|
= _('Public projects are an easy way to allow everyone to have read-only access.')
|
2019-12-21 20:55:43 +05:30
|
|
|
|
|
2022-08-13 15:12:31 +05:30
|
|
|
|
= link_to Gitlab::Saas::doc_url, class: link_classes do
|
2019-12-21 20:55:43 +05:30
|
|
|
|
.blank-state-icon
|
|
|
|
|
= custom_icon("lightbulb", size: 50)
|
2023-05-27 22:25:52 +05:30
|
|
|
|
.blank-state-body.gl-sm-pl-6
|
2022-04-04 11:22:00 +05:30
|
|
|
|
%h3.gl-font-size-h2.gl-mt-0
|
|
|
|
|
= _('Learn more about GitLab')
|
|
|
|
|
%p
|
|
|
|
|
= _('Take a look at the documentation to discover all of GitLab’s capabilities.')
|