Commit 0bd02e96 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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

Add new style to "New group" button
parents 417975ae 57e91940
...@@ -120,6 +120,15 @@ ...@@ -120,6 +120,15 @@
} }
} }
.dash-new-group {
background: $bg_success;
border: 1px solid $border_success;
a {
color: #FFF;
}
}
.dash-list .str-truncated { .dash-list .str-truncated {
max-width: 72%; max-width: 72%;
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
.input-group .input-group
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control' = search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group? - if current_user.can_create_group?
.input-group-addon .input-group-addon.dash-new-group
= link_to new_group_path, class: "" do = link_to new_group_path, class: "" do
%strong New group %strong New group
%ul.well-list.dash-list %ul.well-list.dash-list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment