mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +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
26 lines
478 B
Plaintext
26 lines
478 B
Plaintext
- content_for :page_title do
|
|
= t('dashboard')
|
|
|
|
- content_for :page_actions do
|
|
= render 'admin/shared/user_guide_link'
|
|
|
|
%div{ 'ng-app' => 'ofn.admin' }
|
|
- if @enterprises.empty?
|
|
|
|
= render partial: "enterprises"
|
|
|
|
- else
|
|
|
|
- if can? :admin, Spree::Product
|
|
= render partial: "products"
|
|
|
|
.two.columns
|
|
|
|
|
|
- if can? :admin, OrderCycle
|
|
= render partial: "order_cycles"
|
|
|
|
= render partial: "enterprises"
|
|
|
|
= render partial: "version"
|