diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-04-04 23:52:27 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-04-04 23:52:27 +0200 |
commit | be6f1c74278519d49244a5c29b016725b8eec1e3 (patch) | |
tree | 08344f688940a54b170a0a2a45b0b8b2a4dd4c32 /app/views | |
parent | d5fadfe0f5ebc03d33d1e61bba89d054025870e8 (diff) | |
download | gitlab-ce-be6f1c74278519d49244a5c29b016725b8eec1e3.tar.gz |
Single quotes paradiseadmin-pages-layout
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/groups/_group.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/groups/_group.html.haml b/app/views/admin/groups/_group.html.haml index 166c0e9afeb..9025aaac097 100644 --- a/app/views/admin/groups/_group.html.haml +++ b/app/views/admin/groups/_group.html.haml @@ -1,10 +1,10 @@ - css_class = '' unless local_assigns[:css_class] -- css_class += " no-description" if group.description.blank? +- css_class += ' no-description' if group.description.blank? %li.group-row{ class: css_class } .controls.hidden-xs - = link_to 'Edit', edit_admin_group_path(group), id: "edit_#{dom_id(group)}", class: "btn btn-grouped btn-sm" - = link_to 'Destroy', [:admin, group], data: {confirm: "REMOVE #{group.name}? Are you sure?"}, method: :delete, class: "btn btn-grouped btn-sm btn-remove" + = link_to 'Edit', edit_admin_group_path(group), id: "edit_#{dom_id(group)}", class: 'btn btn-grouped btn-sm' + = link_to 'Destroy', [:admin, group], data: {confirm: "REMOVE #{group.name}? Are you sure?"}, method: :delete, class: 'btn btn-grouped btn-sm btn-remove' .stats %span @@ -18,7 +18,7 @@ %span.visibility-icon.has-tooltip{data: { container: 'body', placement: 'left' }, title: visibility_icon_description(group)} = visibility_level_icon(group.visibility_level, fw: false) - = image_tag group_icon(group), class: "avatar s40 hidden-xs" + = image_tag group_icon(group), class: 'avatar s40 hidden-xs' .title = link_to [:admin, group], class: 'group-name' do = group.name |