Commit 2f9661dc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'dashboard-new-project' into 'master'

 Add "New Project" button to dashboard projects page.

See merge request !1518
parents 72ae15a9 055c2f1e
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
- if current_user.can_create_project? - if current_user.can_create_project?
.link_holder .link_holder
= link_to new_project_path, class: "btn btn-new" do = link_to new_project_path, class: "btn btn-new" do
New project » %i.fa.fa-plus
New Project
- if current_user.can_create_group? - if current_user.can_create_group?
%hr %hr
...@@ -31,7 +32,8 @@ ...@@ -31,7 +32,8 @@
Groups are the best way to manage projects and members. Groups are the best way to manage projects and members.
.link_holder .link_holder
= link_to new_group_path, class: "btn btn-new" do = link_to new_group_path, class: "btn btn-new" do
New group » %i.fa.fa-plus
New Group
-if @publicish_project_count > 0 -if @publicish_project_count > 0
%hr %hr
...@@ -47,4 +49,4 @@ ...@@ -47,4 +49,4 @@
Public projects are an easy way to allow everyone to have read-only access. Public projects are an easy way to allow everyone to have read-only access.
.link_holder .link_holder
= link_to trending_explore_projects_path, class: "btn btn-new" do = link_to trending_explore_projects_path, class: "btn btn-new" do
Browse public projects » Browse public projects
%h3.page-title %h3.page-title
My Projects My Projects
= link_to new_project_path, class: "btn btn-new pull-right" do
%i.fa.fa-plus
New Project
%p.light %p.light
All projects you have access to are listed here. Public projects are not included here unless you are a member All projects you have access to are listed here. Public projects are not included here unless you are a member
%hr %hr
......
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