Add divider between admin enterprise index actions

This commit is contained in:
Kristina Lim
2018-08-03 19:38:40 +08:00
committed by Maikel Linke
parent 17978f58c7
commit 6251c72921
3 changed files with 12 additions and 0 deletions

View File

@@ -29,3 +29,11 @@ form[name="enterprise_form"] {
}
}
}
.admin-enterprises-index-admin-actions-divider {
background-color: $admin-table-border;
border-width: 0;
height: 1px;
margin-bottom: 1em;
margin-top: 1em;
}

View File

@@ -8,3 +8,5 @@ $warning-red: #da5354;
$warning-orange: #da7f52;
$medium-grey: #919191;
$pale-blue: #cee1f4;
$admin-table-border: $pale-blue;

View File

@@ -5,6 +5,8 @@
= link_to_delete_enterprise enterprise
%br/
%hr.admin-enterprises-index-admin-actions-divider
- if enterprise.is_primary_producer
= link_to_with_icon 'icon-dashboard', t('.properties'), main_app.admin_enterprise_producer_properties_path(enterprise_id: enterprise)
(#{enterprise.producer_properties.count})