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
This commit is contained in:
Douwe Maan 2015-10-14 12:14:31 +00:00
commit 07101cfab6
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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