mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
Div is the default element in HAML, so we don't need to specify it. https://haml.info/docs/yardoc/file.REFERENCE.html#implicit-div-elements
11 lines
487 B
Plaintext
11 lines
487 B
Plaintext
.header.sixteen.columns.alpha{ :class => "#{@enterprises.count > 0 ? "" : "warning"}"}
|
|
%h3.thirteen.columns.alpha
|
|
= t "spree_admin_overview_enterprises_header"
|
|
- if @enterprises.any?
|
|
- if spree_current_user.can_own_more_enterprises?
|
|
%a.three.columns.omega.icon-plus.button.white-bottom{ href: "#{main_app.new_admin_enterprise_path}" }
|
|
= t "spree_admin_enterprises_create_new"
|
|
- else
|
|
%a{ "ofn-with-tip" => t('.ofn_with_tip') }
|
|
= t "admin.whats_this"
|