diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-19 06:58:20 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-19 07:05:39 +0300 |
commit | ba39ca9f4ad2f5723795a59004fd7b77a51cca43 (patch) | |
tree | 7b5d667004456fb0440b1dcfffe46259ecd64589 /app/views/groups | |
parent | e7e329d36402ff84f4ba08184283853518136d7f (diff) |
Fix project name overflow on dashboard
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/_projects.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml index 6f53e125c47..4f8aec1c67e 100644 --- a/app/views/groups/_projects.html.haml +++ b/app/views/groups/_projects.html.haml @@ -3,8 +3,8 @@ .input-group = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control' - if can? current_user, :create_projects, @group - .input-group-addon.dash-new-project - = link_to new_project_path(namespace_id: @group.id) do - %strong New project + %span.input-group-btn + = link_to new_project_path(namespace_id: @group.id), class: 'btn btn-success' do + New project = render 'shared/projects_list', projects: @projects, projects_limit: 20 |