Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-13 20:41:25 +0300
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-02-13 20:41:25 +0300
commit2f9661dcd30219ced570944de2f4384ded429055 (patch)
tree01d22cd6db46789b728b523db713d0909721b496 /app
parent72ae15a9d2fef12f09a0424615725826d250033d (diff)
parent055c2f1e33ffe0bae1b5f1ec6d5fea68ee055bad (diff)
Merge branch 'dashboard-new-project' into 'master'
Add "New Project" button to dashboard projects page. See merge request !1518
Diffstat (limited to 'app')
-rw-r--r--app/views/dashboard/_zero_authorized_projects.html.haml8
-rw-r--r--app/views/dashboard/projects.html.haml4
2 files changed, 9 insertions, 3 deletions
diff --git a/app/views/dashboard/_zero_authorized_projects.html.haml b/app/views/dashboard/_zero_authorized_projects.html.haml
index f78ce69ef9e..6e76f95b34e 100644
--- a/app/views/dashboard/_zero_authorized_projects.html.haml
+++ b/app/views/dashboard/_zero_authorized_projects.html.haml
@@ -17,7 +17,8 @@
- if current_user.can_create_project?
.link_holder
= link_to new_project_path, class: "btn btn-new" do
- New project »
+ %i.fa.fa-plus
+ New Project
- if current_user.can_create_group?
%hr
@@ -31,7 +32,8 @@
Groups are the best way to manage projects and members.
.link_holder
= link_to new_group_path, class: "btn btn-new" do
- New group »
+ %i.fa.fa-plus
+ New Group
-if @publicish_project_count > 0
%hr
@@ -47,4 +49,4 @@
Public projects are an easy way to allow everyone to have read-only access.
.link_holder
= link_to trending_explore_projects_path, class: "btn btn-new" do
- Browse public projects »
+ Browse public projects
diff --git a/app/views/dashboard/projects.html.haml b/app/views/dashboard/projects.html.haml
index dba3025b3cc..21e44fb1c60 100644
--- a/app/views/dashboard/projects.html.haml
+++ b/app/views/dashboard/projects.html.haml
@@ -1,6 +1,10 @@
%h3.page-title
My Projects
+ = link_to new_project_path, class: "btn btn-new pull-right" do
+ %i.fa.fa-plus
+ New Project
+
%p.light
All projects you have access to are listed here. Public projects are not included here unless you are a member
%hr