mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Add divider between admin enterprise index actions
This commit is contained in:
committed by
Maikel Linke
parent
17978f58c7
commit
6251c72921
@@ -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;
|
||||
}
|
||||
|
||||
@@ -8,3 +8,5 @@ $warning-red: #da5354;
|
||||
$warning-orange: #da7f52;
|
||||
$medium-grey: #919191;
|
||||
$pale-blue: #cee1f4;
|
||||
|
||||
$admin-table-border: $pale-blue;
|
||||
|
||||
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user