mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
9 lines
499 B
Plaintext
9 lines
499 B
Plaintext
%div.header.sixteen.columns.alpha{ :class => "#{@enterprises.count > 0 ? "" : "red"}"}
|
|
%h3.thirteen.columns.alpha My Enterprises
|
|
- if @enterprises.any?
|
|
- if spree_current_user.can_own_more_enterprises?
|
|
%a.three.columns.omega.icon-plus.button.blue.white-bottom{ href: "#{main_app.new_admin_enterprise_path}" }
|
|
CREATE NEW
|
|
- else
|
|
%a.with-tip{ title: "Enterprises are Producers and/or Hubs and are the basic unit of organisation within the Open Food Network." } What's this?
|