Merge pull request #8810 from m-a-r-c-o/unify-new-group-project-button

Add new style to "New group" button
This commit is contained in:
Dmitriy Zaporozhets
2015-02-17 16:34:12 -08:00
2 changed files with 10 additions and 1 deletions
@@ -120,6 +120,15 @@
}
}
.dash-new-group {
background: $bg_success;
border: 1px solid $border_success;
a {
color: #FFF;
}
}
.dash-list .str-truncated {
max-width: 72%;
}
+1 -1
View File
@@ -3,7 +3,7 @@
.input-group
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group?
.input-group-addon
.input-group-addon.dash-new-group
= link_to new_group_path, class: "" do
%strong New group
%ul.well-list.dash-list