diff options
author | Чингиз Ауанасов <auanassov.chingiz@gmail.com> | 2015-10-10 11:07:12 +0300 |
---|---|---|
committer | Чингиз Ауанасов <auanassov.chingiz@gmail.com> | 2015-10-10 11:07:12 +0300 |
commit | a972ce17caadc64fc6fa1888301e99c149848f36 (patch) | |
tree | 71c9f5a38bdffc1d687f6a379cf3cc1423f921b5 /app/views | |
parent | 468c355910195dd243e8e40d6b62d41346b65d29 (diff) |
+ and Titleize New Project button on dashboard
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/dashboard/projects/_projects.html.haml | 2 | ||||
-rw-r--r-- | app/views/groups/_projects.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/projects/_projects.html.haml b/app/views/dashboard/projects/_projects.html.haml index e09e032a7f1..30372e98430 100644 --- a/app/views/dashboard/projects/_projects.html.haml +++ b/app/views/dashboard/projects/_projects.html.haml @@ -5,6 +5,6 @@ - if current_user.can_create_project? %span.input-group-btn = link_to new_project_path, class: 'btn btn-green' do - New project + + 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 2b27a88794d..9c73f7a0ef7 100644 --- a/app/views/groups/_projects.html.haml +++ b/app/views/groups/_projects.html.haml @@ -5,6 +5,6 @@ - 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 + + New Project = render 'shared/projects/list', projects: @projects, projects_limit: 20, stars: false |