2015-03-10 16:17:16 -04:00
|
|
|
- publicish_project_count = Project.publicish(current_user).count
|
2013-09-11 15:20:51 -04:00
|
|
|
%h3.page-title Welcome to GitLab!
|
2014-06-04 21:14:31 -04:00
|
|
|
%p.light Self hosted Git management application.
|
2013-09-11 15:20:51 -04:00
|
|
|
%hr
|
|
|
|
%div
|
|
|
|
.dashboard-intro-icon
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-bookmark-o
|
2015-01-05 22:57:09 -05:00
|
|
|
.dashboard-intro-text
|
2013-09-11 15:20:51 -04:00
|
|
|
%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") + "."
|
|
|
|
- else
|
2014-06-04 21:14:31 -04:00
|
|
|
If you are added to a project, it will be displayed here.
|
2013-09-11 15:20:51 -04:00
|
|
|
|
|
|
|
- if current_user.can_create_project?
|
|
|
|
.link_holder
|
|
|
|
= link_to new_project_path, class: "btn btn-new" do
|
2015-02-13 09:43:02 -05:00
|
|
|
%i.fa.fa-plus
|
|
|
|
New Project
|
2013-09-11 15:20:51 -04:00
|
|
|
|
|
|
|
- if current_user.can_create_group?
|
|
|
|
%hr
|
|
|
|
%div
|
|
|
|
.dashboard-intro-icon
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-users
|
2015-01-05 22:57:09 -05:00
|
|
|
.dashboard-intro-text
|
2013-09-11 15:20:51 -04:00
|
|
|
%p.slead
|
|
|
|
You can create a group for several dependent projects.
|
|
|
|
%br
|
2014-06-04 21:14:31 -04:00
|
|
|
Groups are the best way to manage projects and members.
|
2013-09-11 15:20:51 -04:00
|
|
|
.link_holder
|
|
|
|
= link_to new_group_path, class: "btn btn-new" do
|
2015-02-13 09:43:02 -05:00
|
|
|
%i.fa.fa-plus
|
|
|
|
New Group
|
2013-09-11 15:20:51 -04:00
|
|
|
|
2015-03-10 16:17:16 -04:00
|
|
|
-if publicish_project_count > 0
|
2014-03-17 05:29:50 -04:00
|
|
|
%hr
|
|
|
|
%div
|
|
|
|
.dashboard-intro-icon
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-globe
|
2015-01-05 22:57:09 -05:00
|
|
|
.dashboard-intro-text
|
2014-03-17 05:29:50 -04:00
|
|
|
%p.slead
|
|
|
|
There are
|
2015-03-10 16:17:16 -04:00
|
|
|
%strong= publicish_project_count
|
2014-03-17 05:29:50 -04:00
|
|
|
public projects on this server.
|
|
|
|
%br
|
|
|
|
Public projects are an easy way to allow everyone to have read-only access.
|
|
|
|
.link_holder
|
2014-10-17 10:27:44 -04:00
|
|
|
= link_to trending_explore_projects_path, class: "btn btn-new" do
|
2015-02-13 09:43:02 -05:00
|
|
|
Browse public projects
|