Use css style

This commit is contained in:
Чингиз Ауанасов 2015-10-13 04:41:51 +06:00
parent a972ce17ca
commit 42fb52adf4
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