summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-14 12:14:31 +0000
committerDouwe Maan <douwe@gitlab.com>2015-10-14 12:14:31 +0000
commit07101cfab61f28c6328efebea98f018ab8356cdd (patch)
treec98ca5cb69fbadb88ac34925891a69b50de80bd7 /app
parent82da19cecd6390d2372bad36da0a9f89b21abb38 (diff)
parent42fb52adf4460682c35d70930bcb2379ccb26171 (diff)
downloadgitlab-ce-07101cfab61f28c6328efebea98f018ab8356cdd.tar.gz
Merge branch 'fix_issue_2906' into 'master'
+ and Titleize New Project button on dashboard Hello there. Its my first merge request in open source world. So please be tolerant to me if i do something wrong. I try to fix https://gitlab.com/gitlab-org/gitlab-ce/issues/2906 See merge request !1564
Diffstat (limited to 'app')
-rw-r--r--app/views/dashboard/projects/_projects.html.haml3
-rw-r--r--app/views/groups/_projects.html.haml3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/dashboard/projects/_projects.html.haml b/app/views/dashboard/projects/_projects.html.haml
index d0194a17b01..81a5909e2d2 100644
--- a/app/views/dashboard/projects/_projects.html.haml
+++ b/app/views/dashboard/projects/_projects.html.haml
@@ -5,6 +5,7 @@
- if current_user.can_create_project?
%span.input-group-btn
= link_to new_project_path, class: 'btn btn-green' do
- New project
+ %i.fa.fa-plus
+ New Project
= render 'shared/projects/list', projects: @projects, ci: true
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml
index 133f3e2d5a8..11d69977ef9 100644
--- a/app/views/groups/_projects.html.haml
+++ b/app/views/groups/_projects.html.haml
@@ -5,6 +5,7 @@
- if can? current_user, :create_projects, @group
%span.input-group-btn
= link_to new_project_path(namespace_id: @group.id), class: 'btn btn-green' do
- New project
+ %i.fa.fa-plus
+ New Project
= render 'shared/projects/list', projects: @projects, projects_limit: 20, stars: false, skip_namespace: true