gitlab-org--gitlab-foss/app/views/dashboard/_zero_authorized_projects.html.haml
2014-03-17 13:02:04 +01:00

51 lines
1.4 KiB
Text

%h3.page-title Welcome to GitLab!
%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
- if current_user.can_create_project?
You can create up to
%strong= pluralize(current_user.projects_limit, "project") + "."
Click on the button below to add a new one
- else
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
Groups are the best way to manage projects and members
.link_holder
= link_to new_group_path, class: "btn btn-new" do
New group »
-if @publicish_project_count > 0
%hr
%div
.dashboard-intro-icon
%i.icon-globe
%div
%p.slead
There are
%strong= @publicish_project_count
public projects on this server.
%br
Public projects are an easy way to allow everyone to have read-only access.
.link_holder
= link_to public_projects_path, class: "btn btn-new" do
Browse public projects »